Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

NFS41: make PNFS_BLOCK selectable

PNFS_BLOCK needs BLK_DEV_DM/MD, which is not a dependency for other
pnfs layout drivers. Seperate it out so others can still build when
BLK_DEV_DM/MD is not enabled.

Also change select to depends on to avoid build failures.

Reported-and-tested-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Peng Tao <peng_tao@emc.com>
Acked-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Peng Tao and committed by
Linus Torvalds
54a33b19 068ef739

+9 -5
+9 -5
fs/nfs/Kconfig
··· 79 79 depends on NFS_FS && NFS_V4 && EXPERIMENTAL 80 80 select SUNRPC_BACKCHANNEL 81 81 select PNFS_FILE_LAYOUT 82 - select PNFS_BLOCK 83 - select MD 84 - select BLK_DEV_DM 85 82 help 86 83 This option enables support for minor version 1 of the NFSv4 protocol 87 - (RFC 5661 and RFC 5663) in the kernel's NFS client. 84 + (RFC 5661) in the kernel's NFS client. 88 85 89 86 If unsure, say N. 90 87 ··· 89 92 tristate 90 93 91 94 config PNFS_BLOCK 92 - tristate 95 + tristate "Provide support for the pNFS Block Layout Driver for NFSv4.1 pNFS (EXPERIMENTAL)" 96 + depends on NFS_FS && NFS_V4_1 && BLK_DEV_DM 97 + help 98 + Say M here if you want your pNFS client to support the Block Layout Driver 99 + (RFC 5663). Requires Multiple devices driver support (DM) and Device mapper 100 + support (BLK_DEV_DM). 101 + 102 + If unsure, say N. 93 103 94 104 config PNFS_OBJLAYOUT 95 105 tristate "Provide support for the pNFS Objects Layout Driver for NFSv4.1 pNFS (EXPERIMENTAL)"