Whamcloud - gitweb
Try to get working chunk size for IA64 where PAGE_CACHE_SIZE is 4096
authorbraam <braam>
Fri, 24 May 2002 19:08:26 +0000 (19:08 +0000)
committerbraam <braam>
Fri, 24 May 2002 19:08:26 +0000 (19:08 +0000)
while PAGE_SIZE is 8192 (why ?).

lustre/llite/dir.c

index 189b1f1..09e2bba 100644 (file)
@@ -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)