summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4layouts.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-04 20:46:15 +0100
committerJ. Bruce Fields <bfields@redhat.com>2016-03-18 11:38:17 -0400
commitd9186c03976506cde2c2b1219028bed449c948ed (patch)
tree2d4bb391919038cc05f167f0f82e679fc8fe655f /fs/nfsd/nfs4layouts.c
parent40cf446b9482bd2c681b60062b34cc47c78342f8 (diff)
downloadlinux-stable-d9186c03976506cde2c2b1219028bed449c948ed.tar.gz
linux-stable-d9186c03976506cde2c2b1219028bed449c948ed.tar.bz2
linux-stable-d9186c03976506cde2c2b1219028bed449c948ed.zip
nfs/blocklayout: add SCSI layout support
This is a trivial extension to the block layout driver to support the new SCSI layouts draft. There are three changes: - device identifcation through the SCSI VPD page. This allows us to directly use the udev generated persistent device names instead of requiring an expensive lookup by crawling every block device node in /dev and reading a signature for it. - use of SCSI persistent reservations to protect device access and allow for robust fencing. On the client sides this just means registering and unregistering a server supplied key. - an optimized LAYOUTCOMMIT payload that doesn't send unessecary fields to the server. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4layouts.c')
0 files changed, 0 insertions, 0 deletions