Whamcloud - gitweb
b=24037 avoid conflicting DCACHE_LUSTRE_INVALID
authorAndreas Dilger <andreas.dilger@oracle.com>
Tue, 14 Dec 2010 08:21:45 +0000 (01:21 -0700)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Wed, 15 Dec 2010 02:25:02 +0000 (05:25 +0300)
In newer kernels our definition of DCACHE_LUSTRE_INVALID needs
to be changed to avoid conflictint with other DCACHE flags.
Use a high value to avoid conflict for a long time, maybe until
we can actually get rid of the need for it entirely.

i=sheng.yang
i=vitaly.fertman

lustre/llite/llite_internal.h

index ba1a9a9..5273a98 100644 (file)
@@ -53,7 +53,7 @@
 #endif
 
 #ifndef DCACHE_LUSTRE_INVALID
-#define DCACHE_LUSTRE_INVALID 0x100
+#define DCACHE_LUSTRE_INVALID 0x4000
 #endif
 
 #define LL_IT2STR(it) ((it) ? ldlm_it2str((it)->it_op) : "0")