From: adilger Date: Tue, 2 Mar 2004 23:36:32 +0000 (+0000) Subject: Disable VM readahead so we don't read outside lock extents. X-Git-Tag: v1_7_100~1^127~13 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0d1fd384d2669eeba88519e6d911a75309307c43;p=fs%2Flustre-release.git Disable VM readahead so we don't read outside lock extents. b=2805 --- diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 926e83d..c17ad63 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -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);