From: braam Date: Fri, 24 May 2002 19:08:26 +0000 (+0000) Subject: Try to get working chunk size for IA64 where PAGE_CACHE_SIZE is 4096 X-Git-Tag: v1_7_100~5624 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=9806643df885c94d1984204e2d71325a5aa1506f;ds=sidebyside Try to get working chunk size for IA64 where PAGE_CACHE_SIZE is 4096 while PAGE_SIZE is 8192 (why ?). --- diff --git a/lustre/llite/dir.c b/lustre/llite/dir.c index 189b1f1..09e2bba 100644 --- a/lustre/llite/dir.c +++ b/lustre/llite/dir.c @@ -120,7 +120,7 @@ int waitfor_one_page(struct page *page) static inline unsigned ext2_chunk_size(struct inode *inode) { //return inode->i_sb->s_blocksize; - return PAGE_SIZE; + return PAGE_CACHE_SIZE; } static inline void ext2_put_page(struct page *page)