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:
7e7ccbc
)
b=18016 fix index type in ll_read_ahead_page
author
Oleg Drokin
<green@linuxhacker.ru>
Fri, 20 Aug 2010 16:00:39 +0000
(20:00 +0400)
committer
Mikhail Pershin
<tappro@sun.com>
Fri, 20 Aug 2010 16:54:12 +0000
(20:54 +0400)
The page index type in ll_read_ahead_page was int which is wrong
and breaks after we cross ~10T barrier breaking read ahead beyod
that offset. Changred it to pgoff_t
i=wangdi
i=panda
lustre/llite/rw.c
patch
|
blob
|
history
diff --git
a/lustre/llite/rw.c
b/lustre/llite/rw.c
index
c88ee15
..
4c6da36
100644
(file)
--- a/
lustre/llite/rw.c
+++ b/
lustre/llite/rw.c
@@
-503,7
+503,7
@@
static int cl_read_ahead_page(const struct lu_env *env, struct cl_io *io,
*/
static int ll_read_ahead_page(const struct lu_env *env, struct cl_io *io,
struct cl_page_list *queue,
-
in
t index, struct address_space *mapping)
+
pgoff_
t index, struct address_space *mapping)
{
struct page *vmpage;
struct cl_object *clob = ll_i2info(mapping->host)->lli_clob;