Generic name to handle and open by handle syscalls
Get series with b4
b4 am 1285702610-32733-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
- v1 Latest12 patches 7 repliesIn review
Changes from V19 from the cover letter
a) Drop handle based chown, xattr, utimes syscalls
b) Rebased to latest linus kernel (050026feae5bd4fe2db4096b63b15abce7c47faa)
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 | +60 | 2 replies | |
| 2/12 | vfs: Add name to file handle conversion supportfs/ include/ include/ +1 more | +143 | 4 replies | |
| 3/12 | vfs: Add open by file handle supportfs/ fs/ fs/ +4 more | +263 | 1 reply | |
| 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 -V20 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 V19:
a) Drop handle based chown, xattr, utimes syscalls
b) Rebased to latest linus kernel (050026feae5bd4fe2db4096b63b15abce7c47faa)
-aneesh