From d3460551e1e4ddf309b7d3fafd07e8397b052c56 Mon Sep 17 00:00:00 2001 From: shadow Date: Tue, 16 Jun 2009 11:28:02 +0000 Subject: [PATCH] temp woraround for broken cancel_dirty_pages in OFED 1.4 and SLES10. Branch b_release_1_8_0 b=19553 i=johann i=zam --- lustre/autoconf/lustre-core.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index f7ba2aa..f30ea3a 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1093,6 +1093,10 @@ LB_LINUX_TRY_COMPILE([ #include #include ],[ + /* tmp workaround for broken OFED 1.4.1 at SLES10 */ + #if defined(SUSE_KERNEL) && defined _BACKPORT_LINUX_MM_H_ + #error badly implementation of cancel_dirty_pages + #endif cancel_dirty_page(NULL, 0); ],[ AC_MSG_RESULT(yes) -- 1.8.3.1