]> 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 20:00:15 +0000 (16:00 -0400)
commit6bb470be8c549090afb27d9f080bec4c2c759dee
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>
fs/nfs/Makefile
fs/nfs/export.c [new file with mode: 0644]
fs/nfs/internal.h
fs/nfs/super.c