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:
6097066
)
b=7231
author
alex
<alex>
Tue, 2 Aug 2005 15:43:33 +0000
(15:43 +0000)
committer
alex
<alex>
Tue, 2 Aug 2005 15:43:33 +0000
(15:43 +0000)
- wait on bio's completion after commit. to evaluate performance impact
lustre/obdfilter/filter_io_26.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_io_26.c
b/lustre/obdfilter/filter_io_26.c
index
18a3796
..
5c05356
100644
(file)
--- a/
lustre/obdfilter/filter_io_26.c
+++ b/
lustre/obdfilter/filter_io_26.c
@@
-289,8
+289,6
@@
int filter_do_bio(struct obd_device *obd, struct inode *inode,
}
out:
- wait_event(dreq->dr_wait, atomic_read(&dreq->dr_numreqs) == 0);
-
if (rc == 0)
rc = dreq->dr_error;
RETURN(rc);
@@
-540,6
+538,8
@@
int filter_commitrw_write(struct obd_export *exp, struct obdo *oa,
fsfilt_check_slow(now, obd_timeout, "commitrw commit");
+ wait_event(dreq->dr_wait, atomic_read(&dreq->dr_numreqs) == 0);
+
cleanup:
filter_grant_commit(exp, niocount, res);