summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/blocklayoutxdr.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* nfsd: add SCSI layout supportChristoph Hellwig2016-03-181-0/+14
| | | | | | | | | | | | | This is a simple extension to the block layout driver to use SCSI persistent reservations for access control and fencing, as well as SCSI VPD pages for device identification. For this we need to pass the nfs4_client to the proc_getdeviceinfo method to generate the reservation key, and add a new fence_client method to allow for fence actions in the layout driver. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
* pnfs: move common blocklayout XDR defintions to nfs4.hChristoph Hellwig2015-08-171-15/+0
| | | | | Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
* nfsd: pNFS block layout driverChristoph Hellwig2015-02-051-0/+62
Add a small shim between core nfsd and filesystems to translate the somewhat cumbersome pNFS data structures and semantics to something more palatable for Linux filesystems. Thanks to Rick McNeal for the old prototype pNFS blocklayout server code, which gave a lot of inspiration to this version even if no code is left from it. Signed-off-by: Christoph Hellwig <hch@lst.de>