pnfs: Automatically select blocks & objects layouts
authorBoaz Harrosh <bharrosh@panasas.com>
Thu, 11 Aug 2011 21:29:25 +0000 (14:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Aug 2011 00:51:27 +0000 (17:51 -0700)
commit8cf1fb21632d302fad6404f891b002ab8c13b1b4
tree92c7fd08c3a1b8e9a789a285306504b6fece6f23
parent8c20871998c082f6fbc963f1449a5ba5140ee39a
pnfs: Automatically select blocks & objects layouts

Just like files-layout, blocks & objects layouts are part of the
NFS 4.1 protocol and should be automatically selected if NFS_4_1
is selected. The small problem is that these depend on other
Kernel support being present, while files only depends on NFS
itself.

This patch removes from the user choice the presence of objects
and blocks layout. But makes sure these are selected only if
the depended subsystems are present in the Kernel.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Acked-by: Peng Tao <peng_tao@emc.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/Kconfig