From 8e59ad2e700e22ade45d24437aa831de374a506b Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 1 Sep 2005 22:53:41 +0000 Subject: [PATCH] - disable fo_alloc_sem - don't wait for transaction commit NOTE: to evaluate impact --- lustre/obdfilter/filter_io_26.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/obdfilter/filter_io_26.c b/lustre/obdfilter/filter_io_26.c index 8c1eb35..c09586e 100644 --- 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: -- 1.8.3.1