Generic name to handle and open by handle syscalls
Get series with b4
b4 am 1286274140-26533-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
- v1 Latest12 patches 2 repliesIn review
Changes from V20 from the cover letter
a) Use better variable names
b) change handle_size type to __u32
c) max handle size is now nfsv4 handle size. Considering file system would want to support a handle that can fit into nfsv4 handle size limiting max handle size to 128 rather than 4096 is the right thing.
d) I didn't add Ceph changes in the series. I am expecting the changes will go via Ceph tree.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | exportfs: Return the minimum required handle sizefs/ fs/ fs/ +9 more | +59 | 0 replies | |
| 2/12 | vfs: Add name to file handle conversion supportfs/ include/ include/ +1 more | +149 | 0 replies | |
| 3/12 | vfs: Add open by file handle supportfs/ fs/ fs/ +4 more | +263 | 0 replies | |
| 4/12 | vfs: Add handle based readlink syscallfs/ include/ | +31 | 0 replies | |
| 5/12 | vfs: Add handle based stat syscallarch/ fs/ include/ +1 more | +67 | 0 replies | |
| 6/12 | vfs: Add handle based link syscallfs/ include/ | +47 | 0 replies | |
| 7/12 | x86: Add new syscalls for x86_32arch/ arch/ | +11 | 0 replies | |
| 8/12 | x86: Add new syscalls for x86_64arch/ arch/ | +15 | 0 replies | |
| 9/12 | unistd.h: Add new syscalls numbers to asm-genericinclude/ | +11 | 0 replies | |
| 10/12 | vfs: Export file system uuid via /proc/<pid>/mountinfofs/ include/ | +17 | 0 replies | |
| 11/12 | ext3: Copy fs UUID to superblock.fs/ | +1 | 0 replies | |
| 12/12 | ext4: Copy fs UUID to superblockfs/ | +2 | 0 replies |
Reviews trailers per patch
1 of 12 patches has a Reviewed-by or Acked-by.
| Patch | Serge Hallyn |
|---|---|
| 1/12 | A-b |
| 2/12 | |
| 3/12 | |
| 4/12 | |
| 5/12 | |
| 6/12 | |
| 7/12 | |
| 8/12 | |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -V21 00/12] Generic name to handle and open by handle syscalls
Hi,
The below set of patches implement open by handle support using exportfs operations. This allows user space application to map a file name to file handle and later open the file using handle. This should be usable for userspace NFS [1] and 9P server [2]. XFS already support this with the ioctls XFS_IOC_PATH_TO_HANDLE and XFS_IOC_OPEN_BY_HANDLE.
[1] http://nfs-ganesha.sourceforge.net/
[2] http://thread.gmane.org/gmane.comp.emulators.qemu/68992
git repo for the patchset at:git://git.kernel.org/pub/scm/linux/kernel/git/kvaneesh/linux-open-handle.git open-by-handle
Test case can be found at
http://git.kernel.org/?p=fs/ext2/kvaneesh/handle-test.gitgit://git.kernel.org/pub/scm/fs/ext2/kvaneesh/handle-test.git
Changes from V20:
a) Use better variable names
b) change handle_size type to __u32
c) max handle size is now nfsv4 handle size. Considering file system would want to support a handle that can fit into nfsv4 handle size limiting max handle size to 128 rather than 4096 is the right thing.
d) I didn't add Ceph changes in the series. I am expecting the changes will go via Ceph tree.
-aneesh