Skip to content
Snippets Groups Projects
Commit 8e59ad2e authored by alex's avatar alex
Browse files

- disable fo_alloc_sem

- don't wait for transaction commit
  NOTE: to evaluate impact
parent e667b61b
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment