Whamcloud - gitweb
Disable VM readahead so we don't read outside lock extents.
authoradilger <adilger>
Tue, 2 Mar 2004 23:36:32 +0000 (23:36 +0000)
committeradilger <adilger>
Tue, 2 Mar 2004 23:36:32 +0000 (23:36 +0000)
b=2805

lustre/llite/llite_lib.c

index 926e83d..c17ad63 100644 (file)
@@ -192,6 +192,8 @@ int lustre_common_fill_super(struct super_block *sb, char *mdc, char *osc)
                 GOTO(out_root, err);
         }
 
+        /* bug 2805 - set VM readahead to zero */
+        vm_max_readahead = vm_min_readahead = 0;
         sb->s_root = d_alloc_root(root);
         RETURN(err);