Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d6b18a
)
Branch b1_6
author
anserper
<anserper>
Wed, 30 Jul 2008 19:53:03 +0000
(19:53 +0000)
committer
anserper
<anserper>
Wed, 30 Jul 2008 19:53:03 +0000
(19:53 +0000)
b=16037
i=Alexey Lyashkov (shadow)
i=Alexander Zarochentsev (zam)
max_ra_pages fix (with respect to accessible lowmem pages)
lustre/llite/llite_lib.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
c1a0af8
..
2fcc08c
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-94,7
+94,7
@@
static struct ll_sb_info *ll_init_sbi(void)
sbi->ll_async_page_max = pages / 2;
else
sbi->ll_async_page_max = (pages / 4) * 3;
- sbi->ll_ra_info.ra_max_pages = min(
num_physpages / 8
,
+ sbi->ll_ra_info.ra_max_pages = min(
pages / 32
,
SBI_DEFAULT_READAHEAD_MAX);
sbi->ll_ra_info.ra_max_read_ahead_whole_pages =
SBI_DEFAULT_READAHEAD_WHOLE_MAX;