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>
Fri, 18 Mar 2016 15:42:53 +0000 (11:42 -0400)
commitf99d4fbdae6765d0bb4ed5441f6fa1f036122d59
treeb2192caa11508d5107d2eea3be55c0ec68118e6c
parent368248eeb14d08823f1b53de83debd5fd6c108d2
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