Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=2776
[fs/lustre-release.git]
/
lustre
/
ptlbd
/
blk.c
diff --git
a/lustre/ptlbd/blk.c
b/lustre/ptlbd/blk.c
index
d8b7f02
..
ccef070
100644
(file)
--- a/
lustre/ptlbd/blk.c
+++ b/
lustre/ptlbd/blk.c
@@
-284,7
+284,7
@@
int ptlbd_blk_init(void)
/* avoid integer overflow */
ptlbd_size[i] = (16*1024*((1024*1024) >> BLOCK_SIZE_BITS));
ptlbd_hardsect_size[i] = 4096;
- ptlbd_max_sectors[i] = PTL
_MD_MAX_IOV
* (4096/512);
+ ptlbd_max_sectors[i] = PTL
RPC_MAX_BRW_PAGES
* (4096/512);
}
return 0;