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:
e667b61
)
- disable fo_alloc_sem
author
alex
<alex>
Thu, 1 Sep 2005 22:53:41 +0000
(22:53 +0000)
committer
alex
<alex>
Thu, 1 Sep 2005 22:53:41 +0000
(22:53 +0000)
- don't wait for transaction commit
NOTE: to evaluate 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
8c1eb35
..
c09586e
100644
(file)
--- a/
lustre/obdfilter/filter_io_26.c
+++ b/
lustre/obdfilter/filter_io_26.c
@@
-369,7
+369,7
@@
int filter_direct_io(int rw, struct dentry *dchild, void *iobuf,
if (rw == OBD_BRW_WRITE) {
create = 1;
- sem = &obd->u.filter.fo_alloc_lock;
+
//
sem = &obd->u.filter.fo_alloc_lock;
}
rc = fsfilt_map_inode_pages(obd, inode,
@@
-534,10
+534,12
@@
int filter_commitrw_write(struct obd_export *exp, struct obdo *oa,
fsfilt_check_slow(now, obd_timeout, "direct_io");
+#if 0 /* disabled to evaluate impact -bzzz */
err = fsfilt_commit_wait(obd, inode, wait_handle);
if (rc == 0)
rc = err;
-
+#endif
+
fsfilt_check_slow(now, obd_timeout, "commitrw commit");
cleanup: