Skip to content

Commit d67ae82

Browse files
author
Tom Haynes
committed
pnfs/flexfiles: Add the FlexFile Layout Driver
The flexfile layout is a new layout that extends the file layout. It is currently being drafted as a specification at https://datatracker.ietf.org/doc/draft-ietf-nfsv4-layout-types/ Signed-off-by: Weston Andros Adamson <dros@primarydata.com> Signed-off-by: Tom Haynes <loghyr@primarydata.com> Signed-off-by: Tao Peng <bergwolf@primarydata.com>
1 parent 5fadeb4 commit d67ae82

File tree

13 files changed

+2325
-12
lines changed

13 files changed

+2325
-12
lines changed

fs/nfs/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ config PNFS_OBJLAYOUT
128128
depends on NFS_V4_1 && SCSI_OSD_ULD
129129
default NFS_V4
130130

131+
config PNFS_FLEXFILE_LAYOUT
132+
tristate
133+
depends on NFS_V4_1 && NFS_V3
134+
default m
135+
131136
config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
132137
string "NFSv4.1 Implementation ID Domain"
133138
depends on NFS_V4_1

fs/nfs/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ nfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o
3333
obj-$(CONFIG_PNFS_FILE_LAYOUT) += filelayout/
3434
obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/
3535
obj-$(CONFIG_PNFS_BLOCK) += blocklayout/
36+
obj-$(CONFIG_PNFS_FLEXFILE_LAYOUT) += flexfilelayout/

fs/nfs/flexfilelayout/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Makefile for the pNFS Flexfile Layout Driver kernel module
3+
#
4+
obj-$(CONFIG_PNFS_FLEXFILE_LAYOUT) += nfs_layout_flexfiles.o
5+
nfs_layout_flexfiles-y := flexfilelayout.o flexfilelayoutdev.o

0 commit comments

Comments
 (0)