]> 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)
commitd1de49905778f5d9f7166873b23a7354f96a2de8
tree0457348735ef01b8939925b56bb03e38c45195df
parent2c4fc95a9e0cd6f9479af223d796eeb6b095813f
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