[PATCH] [Utopic] staging/lustre: disable virtual block device for 64K pages

dann frazier dann.frazier at canonical.com
Wed Sep 3 03:23:01 UTC 2014


From: Arnd Bergmann <arnd at arndb.de>

The lustre virtual block device cannot handle 64K pages and fails at compile
time. To avoid running into this error, let's disable the Kconfig option
for this driver in cases it doesn't support.

Reported-by: Dann Frazier <dann.frazier at canonical.com>
Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
(cherry picked from 0bf22be0da8ea74bc7ccc5b07d7855830be16eca upstream)
[dannf: Makes it less annoying to play with CONFIG_ARM64_64K_PAGES]
Signed-off-by: dann frazier <dann.frazier at canonical.com>
---
 drivers/staging/lustre/lustre/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/lustre/lustre/Kconfig b/drivers/staging/lustre/lustre/Kconfig
index 209e4c7..4f65ba1 100644
--- a/drivers/staging/lustre/lustre/Kconfig
+++ b/drivers/staging/lustre/lustre/Kconfig
@@ -57,4 +57,5 @@ config LUSTRE_TRANSLATE_ERRNOS
 config LUSTRE_LLITE_LLOOP
 	tristate "Lustre virtual block device"
 	depends on LUSTRE_FS && BLOCK
+	depends on !PPC_64K_PAGES && !ARM64_64K_PAGES
 	default m
-- 
2.1.0





More information about the kernel-team mailing list