diff mbox

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

Message ID 1409714581-20658-1-git-send-email-dann.frazier@canonical.com
State New
Headers show

Commit Message

dann frazier Sept. 3, 2014, 3:23 a.m. UTC
From: Arnd Bergmann <arnd@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@canonical.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@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@canonical.com>
---
 drivers/staging/lustre/lustre/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tim Gardner Sept. 3, 2014, 3:21 p.m. UTC | #1

diff mbox

Patch

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