]> git.baikalelectronics.ru Git - kernel.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)
commit2c7debae02c89555ff3ce30fd739216b5583ad1b
tree74b456ce1f075b4641f3b6a196843fc02ef25859
parent967ad9f20fa4b4369305fe2511f3e2643a758048
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