diff options
author | Christoph Hellwig <hch@lst.de> | 2016-03-04 20:46:17 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-03-18 16:42:53 +0100 |
commit | f99d4fbdae6765d0bb4ed5441f6fa1f036122d59 (patch) | |
tree | b2192caa11508d5107d2eea3be55c0ec68118e6c /fs/nfsd/Kconfig | |
parent | nfsd: move some blocklayout code (diff) | |
download | linux-f99d4fbdae6765d0bb4ed5441f6fa1f036122d59.tar.xz linux-f99d4fbdae6765d0bb4ed5441f6fa1f036122d59.zip |
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>
Diffstat (limited to 'fs/nfsd/Kconfig')
-rw-r--r-- | fs/nfsd/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig index eb70d91b255b..a30a31316e68 100644 --- a/fs/nfsd/Kconfig +++ b/fs/nfsd/Kconfig @@ -98,6 +98,19 @@ config NFSD_BLOCKLAYOUT If unsure, say N. +config NFSD_SCSILAYOUT + bool "NFSv4.1 server support for pNFS SCSI layouts" + depends on NFSD_V4 + select NFSD_PNFS + help + This option enables support for the exporting pNFS SCSI layouts + in the kernel's NFS server. The pNFS SCSI layout enables NFS + clients to directly perform I/O to SCSI devices accesible to both + the server and the clients. See draft-ietf-nfsv4-scsi-layout for + more details. + + If unsure, say N. + config NFSD_V4_SECURITY_LABEL bool "Provide Security Label support for NFSv4 server" depends on NFSD_V4 && SECURITY |