X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fkernel_patches%2Fpatches%2Fdcache-mds-num-2.6.7.patch;h=466235d6a02dc50cbc374596642e91f9cdf493bd;hp=d86d1b693084fc69f2119f9587eeddf6fc0f0f1c;hb=ed1792ed91ebd96acf00fa99a61b3bb32c64d32f;hpb=191061ee668400324f4505cf498f1ee2d57e4962 diff --git a/lustre/kernel_patches/patches/dcache-mds-num-2.6.7.patch b/lustre/kernel_patches/patches/dcache-mds-num-2.6.7.patch index d86d1b6..466235d 100644 --- a/lustre/kernel_patches/patches/dcache-mds-num-2.6.7.patch +++ b/lustre/kernel_patches/patches/dcache-mds-num-2.6.7.patch @@ -1,8 +1,8 @@ Index: linux-2.6.7/include/linux/dcache.h =================================================================== ---- linux-2.6.7.orig/include/linux/dcache.h 2004-08-30 17:20:57.000000000 +0800 -+++ linux-2.6.7/include/linux/dcache.h 2004-08-30 17:39:12.000000000 +0800 -@@ -94,6 +94,9 @@ +--- linux-2.6.7.orig/include/linux/dcache.h 2005-03-23 23:28:49.669799416 +0800 ++++ linux-2.6.7/include/linux/dcache.h 2005-03-23 23:38:25.648237384 +0800 +@@ -86,6 +86,9 @@ spinlock_t d_lock; /* per dentry lock */ struct inode *d_inode; /* Where the name belongs to - NULL is * negative */ @@ -12,11 +12,12 @@ Index: linux-2.6.7/include/linux/dcache.h /* * The next three fields are touched by __d_lookup. Place them here * so they all fit in a 16-byte range, with 16-byte alignment. -@@ -166,6 +169,7 @@ +@@ -158,6 +161,8 @@ #define DCACHE_UNHASHED 0x0010 - #define DCACHE_LUSTRE_INVALID 0x0020 /* Lustre invalidated */ + #define DCACHE_LUSTRE_INVALID 0x0020 /* invalidated by Lustre */ +#define DCACHE_CROSS_REF 0x0040 /* entry points to inode on another MDS */ - ++ extern spinlock_t dcache_lock; + /**