Skip to content

export operations rewrite

Christoph Hellwig linux-fsdevel linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19xfs: kill struct fid/fid_t namespace pollutionfs/xfs/linux-2.6/xfs_export.c fs/xfs/linux-2.6/xfs_export.h fs/xfs/linux-2.6/xfs_ioctl.c +6 more+36 -630 replies
2/19exportfs: add fid typefs/exportfs/expfs.c fs/nfsd/nfsfh.c include/linux/exportfs.h+87 -550 replies
3/19exportfs: add new methodsfs/exportfs/expfs.c fs/libfs.c include/linux/exportfs.h+249 -70 replies
4/19ext2: new export opsfs/ext2/super.c+17 -152 replies
5/19ext3: new export opsfs/ext3/super.c+18 -150 replies
6/19ext4: new export opsfs/ext4/super.c+18 -150 replies
7/19efs: new export opsfs/efs/namei.c fs/efs/super.c include/linux/efs_fs.h+26 -180 replies
8/19jfs: new export opsfs/jfs/jfs_inode.h fs/jfs/namei.c fs/jfs/super.c+25 -184 replies
9/19ntfs: new export opsfs/ntfs/namei.c+27 -480 replies
10/19xfs: new export opsfs/xfs/linux-2.6/xfs_export.c fs/xfs/linux-2.6/xfs_export.h+127 -1243 replies
11/19fat: new export opsfs/fat/inode.c+7 -170 replies
12/19isofs: new export opsfs/isofs/export.c+29 -380 replies
13/19shmem: new export opsmm/shmem.c+13 -220 replies
14/19reiserfs: new export opsfs/reiserfs/inode.c fs/reiserfs/super.c include/linux/reiserfs_fs.h+35 -430 replies
15/19gfs2: new export opsfs/gfs2/ops_export.c+43 -380 replies
16/19ocfs2: new export opsfs/ocfs2/export.c+24 -410 replies
17/19exportfs: make struct export_operations constfs/cifs/cifsfs.c fs/cifs/export.c fs/efs/super.c +19 more+25 -250 replies
18/19exportfs: update documentationDocumentation/filesystems/Exporting fs/exportfs/expfs.c include/linux/exportfs.h+51 -933 replies
19/19exportfs: remove old methodsfs/exportfs/expfs.c fs/nfsd/export.c include/linux/exportfs.h+3 -2251 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATH 00/19] export operations rewrite

This patchset is a medium scale rewrite of the export operations interface. The goal is to make the interface less complex, and easier to understand from the filesystem side, aswell as preparing generic support for exporting of 64bit inode numbers.

This touches all nfs exporting filesystems, and I've done testing on all of the filesystems I have here locally (xfs, ext2, ext3, reiserfs, jfs)

Compared to the last version posted earlier this year I've moved the generic fh_to_dentry and generic_fh_to_parent method to libfs.c so that the filesystems don't have to pull in the exportfs module but only nfsd has to. That means I have to expose that ugly exportfs_d_alloc helper, but I have plans to get rid of that one entirely by merging it with d_alloc_anon. More on that in another patch series.

Note that this patch series is against mainline. There will be some xfs changes landing in -mm soon that revamp lots of the code touched here. They should hopefully include the first path in the series so it can be simply dropped, but the xfs conversion will need some smaller updates. I will send this update as soon as the xfs tree updates get pulled into -mm.

--