From: alex Date: Thu, 1 Sep 2005 18:14:13 +0000 (+0000) Subject: - serialize all allocations on OSS by fo_alloc_lock. for benchmarking X-Git-Tag: v1_7_100~791 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2ac3d5095f3105e8d10a595f3518b3edeb50d96c;p=fs%2Flustre-release.git - serialize all allocations on OSS by fo_alloc_lock. for benchmarking --- diff --git a/lustre/obdfilter/filter_io_26.c b/lustre/obdfilter/filter_io_26.c index 23f6b33..8c1eb35 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,