X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fkernel_patches%2Fpatches%2Fadd_page_private.patch;h=93005b66da8681806692075828c2445d14dbc741;hp=f82fb92d920be24744bbf4449bbdadbb03b82eef;hb=4d72389a70d651e0e3fe5d54af0d0dd5019d2eb5;hpb=c5050e412572b00cbe93d8517d2d1f767bebfa92 diff --git a/lustre/kernel_patches/patches/add_page_private.patch b/lustre/kernel_patches/patches/add_page_private.patch index f82fb92..93005b66 100644 --- a/lustre/kernel_patches/patches/add_page_private.patch +++ b/lustre/kernel_patches/patches/add_page_private.patch @@ -1,10 +1,8 @@ - include/linux/mm.h | 1 + - 1 files changed, 1 insertion(+) - ---- linux-2.4.20-b_llpio-l21/include/linux/mm.h~add_page_private 2003-07-21 21:42:50.000000000 -0700 -+++ linux-2.4.20-b_llpio-l21-zab/include/linux/mm.h 2003-07-21 21:44:16.000000000 -0700 -@@ -162,6 +162,7 @@ typedef struct page { - protected by pagemap_lru_lock !! */ +Index: linux-ia64/include/linux/mm.h +=================================================================== +--- linux-ia64.orig/include/linux/mm.h 2004-04-27 12:39:16.000000000 -0700 ++++ linux-ia64/include/linux/mm.h 2004-04-27 12:42:10.000000000 -0700 +@@ -205,6 +205,7 @@ typedef struct page { struct page **pprev_hash; /* Complement to *next_hash. */ struct buffer_head * buffers; /* Buffer maps us to a disk block. */ + unsigned long private; @@ -13,3 +11,13 @@ * On machines where all RAM is mapped into kernel address space, _ +Index: linux-ia64/mm/filemap.c +=================================================================== +--- linux-ia64.orig/mm/filemap.c 2004-04-27 12:35:18.000000000 -0700 ++++ linux-ia64/mm/filemap.c 2004-04-27 12:42:47.000000000 -0700 +@@ -676,6 +676,7 @@ static inline void __add_to_page_cache(s + page_cache_get(page); + page->index = offset; ++ page->private = 0; + add_page_to_inode_queue(mapping, page); + add_page_to_hash_queue(page, hash);