Skip to content

RFC: pnfs: LAYOUTGET/DEVINFO submission, v2

Fred Isaman linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12NFSD: remove duplicate NFS4_STATEID_SIZEfs/nfsd/nfs4callback.c+0 -10 replies
2/12SUNRPC: define xdr_decode_opaque_fixedinclude/linux/sunrpc/xdr.h+7 -00 replies
3/12RFC: pnfsd, pnfs: protocol level pnfs constantsinclude/linux/nfs4.h+39 -00 replies
4/12RFC: nfs: change stateid to be a unionfs/nfs/callback_proc.c include/linux/nfs4.h+17 -60 replies
5/12RFC: nfs: ask for layouttypes during fsinfo callfs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c include/linux/nfs_xdr.h+59 -12 replies
6/12RFC: nfs: set layout driverfs/nfs/Makefile fs/nfs/client.c fs/nfs/pnfs.c +3 more+141 -08 replies
7/12RFC: pnfs: full mount/umount infrastructureDocumentation/filesystems/nfs/00-INDEX Documentation/filesystems/nfs/pnfs.txt fs/nfs/Kconfig +2 more+140 -33 replies
8/12RFC: pnfs: filelayout: introduce minimal file layout driverfs/nfs/Makefile fs/nfs/nfs4filelayout.c include/linux/nfs_fs.h+82 -00 replies
9/12RFC: nfs: create and destroy inode's layout cachefs/nfs/file.c fs/nfs/inode.c fs/nfs/pnfs.c +3 more+193 -00 replies
10/12RFC: nfs: client needs to maintain list of inodes with active layoutsfs/nfs/client.c fs/nfs/nfs4state.c fs/nfs/pnfs.c +2 more+148 -40 replies
11/12RFC: pnfs: add LAYOUTGET and GETDEVICEINFO infrastructurefs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c fs/nfs/pnfs.c +4 more+933 -285 replies
12/12RFC: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructurefs/nfs/Makefile fs/nfs/client.c fs/nfs/nfs4filelayout.c +2 more+750 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] RFC: pnfs: LAYOUTGET/DEVINFO submission, v2

This fixes various issue brought up in comments to the previous version.

Among the more substantial changes:

find_pnfs_driver now grabs module reference
driver init/uninit_mountpoint argument changed to struct nfs_server io_ops moved into pnfs_layoutdriver_type
handling of pnfs_layout_from_open_stateid changed
file driver no longer uses vmalloc
deviceid moved from general to driver layer CONFIG_PNFS_FILE_LAYOUT removed, just uses CONFIG_NFS_V4_1 error handling of LAYOUTGET and GETDEVICEINFO rpc calls changed

For those interested, the patches can also be found at
git://linux-nfs.org/~iisaman/linux-pnfs.git,
under the branch devinfo-submit-rc4-trond

A rebase of Benny's pnfs-submit branch onto these patches is under the branch bennys-pnfs-submit-on-devinfo-rc4

Fred

This is the start of code implementing pnfs, based on RFC 5661. Since sending the whole thing at once would be overwhelming, we are trying to break it into bite sized chunks. This chunk implements the mount/umount infrastructure, as well as sending the LAYOUTGET and GETDEVTICEINFO calls on io (but not actually using the information for io). Note that two major simplifications to the protocol will be made throughout the initial submission process: only the file layout driver is considered, and only whole file layouts are requested.

These patches apply against Trond's nfs-for-2.6.37 branch.

patches 01-08 implement the mount/umount hooks patches 09-12 implement LAYOUTGET and GETDEVICEINFO