]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfs: add export operations
authorPeng Tao <tao.peng@primarydata.com>
Thu, 29 Jun 2017 13:34:53 +0000 (06:34 -0700)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 21:12:04 +0000 (17:12 -0400)
commit20fa19027286983ab2734b5910c4a687436e0c31
tree74b456ce1f075b4641f3b6a196843fc02ef25859
parent5b5faaf6df73412af0278997db36dbcb51011d9d
nfs: add export operations

This support for opening files on NFS by file handle, both through the
open_by_handle syscall, and for re-exporting NFS (for example using a
different version).  The support is very basic for now, as each open by
handle will have to do an NFSv4 open operation on the wire.  In the
future this will hopefully be mitigated by an open file cache, as well
as various optimizations in NFS for this specific case.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
[hch: incorporated various changes, resplit the patches, new changelog]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/Makefile
fs/nfs/export.c [new file with mode: 0644]
fs/nfs/internal.h
fs/nfs/super.c