]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Add a super simple flex file server
authorTom Haynes <thomas.haynes@primarydata.com>
Tue, 14 Jun 2016 20:41:28 +0000 (13:41 -0700)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Jul 2016 19:40:48 +0000 (15:40 -0400)
commit7cb34b40959042b90172ce31142bd0cb60b10367
tree0457348735ef01b8939925b56bb03e38c45195df
parent47581da48522871d0921706b495e19673f44cec8
nfsd: Add a super simple flex file server

Have a simple flex file server where the mds (NFSv4.1 or NFSv4.2)
is also the ds (NFSv3). I.e., the metadata and the data file are
the exact same file.

This will allow testing of the flex file client.

Simply add the "pnfs" export option to your export
in /etc/exports and mount from a client that supports
flex files.

Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/Kconfig
fs/nfsd/Makefile
fs/nfsd/flexfilelayout.c [new file with mode: 0644]
fs/nfsd/flexfilelayoutxdr.c [new file with mode: 0644]
fs/nfsd/flexfilelayoutxdr.h [new file with mode: 0644]
fs/nfsd/nfs4layouts.c
fs/nfsd/pnfs.h