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:
553feee
)
Branch b1_4
author
adilger
<adilger>
Wed, 11 May 2005 19:23:49 +0000
(19:23 +0000)
committer
adilger
<adilger>
Wed, 11 May 2005 19:23:49 +0000
(19:23 +0000)
Revert previous commit, it was confusingly correct.
b=6289
lustre/obdfilter/filter_io.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_io.c
b/lustre/obdfilter/filter_io.c
index
bc37000
..
988e0bf
100644
(file)
--- a/
lustre/obdfilter/filter_io.c
+++ b/
lustre/obdfilter/filter_io.c
@@
-527,7
+527,8
@@
static int filter_preprw_write(int cmd, struct obd_export *exp, struct obdo *oa,
memset(res, 0, niocount * sizeof(*res));
- rc = filter_alloc_iobuf(&exp->exp_obd->u.filter, OBD_BRW_WRITE,
+ /* This iobuf is for reading any partial pages from disk */
+ rc = filter_alloc_iobuf(&exp->exp_obd->u.filter, OBD_BRW_READ,
obj->ioo_bufcnt, &iobuf);
if (rc)
GOTO(cleanup, rc);