]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd: add SCSI layout support
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Mar 2016 19:46:17 +0000 (20:46 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 6 Mar 2016 19:06:44 +0000 (14:06 -0500)
commit9e01cf8c39f6440583f0d313546cbe78044a6912
treeca3064091c1d78cd0f24ae16061fc08daed75487
parent79fcd77c8f5e6b3cc941533f22222d9399310fe1
nfsd: add SCSI layout support

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>
Documentation/filesystems/nfs/pnfs-scsi-server.txt [new file with mode: 0644]
fs/nfsd/Kconfig
fs/nfsd/Makefile
fs/nfsd/blocklayout.c
fs/nfsd/blocklayoutxdr.c
fs/nfsd/blocklayoutxdr.h
fs/nfsd/nfs4layouts.c
fs/nfsd/nfs4proc.c
fs/nfsd/pnfs.h
fs/xfs/Makefile
fs/xfs/xfs_pnfs.h