Skip to content

RFC: pnfs: LAYOUTGRT/DEVINFO submission, v3

Fred Isaman linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn 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 -10 replies
6/12RFC: nfs: set layout driverfs/nfs/Makefile fs/nfs/client.c fs/nfs/pnfs.c +3 more+143 -00 replies
7/12RFC: pnfs: full mount/umount infrastructureDocumentation/filesystems/nfs/00-INDEX Documentation/filesystems/nfs/pnfs.txt fs/nfs/Kconfig +2 more+151 -40 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+930 -280 replies
12/12RFC: pnfs: filelayout: add driver's LAYOUTGET and GETDEVICEINFO infrastructurefs/nfs/Makefile fs/nfs/client.c fs/nfs/nfs4filelayout.c +2 more+748 -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: LAYOUTGRT/DEVINFO submission, v3

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

Major changes are:
bugfixes and renames in the deviceid cache
fix Kconfig using a suggestion from Trond
moved module_get to simplify and avoid bug in find_pnfs_driver_locked

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

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

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