User: Password:
|
|
Subscribe / Log in / New account

Generic name to handle and open by handle syscalls

From:  "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
To:  hch@infradead.org, viro@zeniv.linux.org.uk, adilger@sun.com, corbet@lwn.net, neilb@suse.de, npiggin@kernel.dk, hooanon05@yahoo.co.jp, bfields@fieldses.org, miklos@szeredi.hu
Subject:  [PATCH -V20 00/12] Generic name to handle and open by handle syscalls
Date:  Wed, 29 Sep 2010 01:06:38 +0530
Message-ID:  <1285702610-32733-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>
Cc:  linux-fsdevel@vger.kernel.org, sfrench@us.ibm.com, philippe.deniel@CEA.FR, linux-kernel@vger.kernel.org
Archive-link:  Article

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.git
git://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



Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds