aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-04 14:46:17 -0500
committerJ. Bruce Fields <bfields@redhat.com>2016-03-18 11:42:53 -0400
commitf99d4fbdae6765d0bb4ed5441f6fa1f036122d59 (patch)
treeb2192caa11508d5107d2eea3be55c0ec68118e6c /fs/nfsd/Kconfig
parent368248eeb14d08823f1b53de83debd5fd6c108d2 (diff)
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/Kconfig13
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
98 98
99 If unsure, say N. 99 If unsure, say N.
100 100
101config NFSD_SCSILAYOUT
102 bool "NFSv4.1 server support for pNFS SCSI layouts"
103 depends on NFSD_V4
104 select NFSD_PNFS
105 help
106 This option enables support for the exporting pNFS SCSI layouts
107 in the kernel's NFS server. The pNFS SCSI layout enables NFS
108 clients to directly perform I/O to SCSI devices accesible to both
109 the server and the clients. See draft-ietf-nfsv4-scsi-layout for
110 more details.
111
112 If unsure, say N.
113
101config NFSD_V4_SECURITY_LABEL 114config NFSD_V4_SECURITY_LABEL
102 bool "Provide Security Label support for NFSv4 server" 115 bool "Provide Security Label support for NFSv4 server"
103 depends on NFSD_V4 && SECURITY 116 depends on NFSD_V4 && SECURITY