Whamcloud - gitweb
- serialize all allocations on OSS by fo_alloc_lock. for benchmarking
authoralex <alex>
Thu, 1 Sep 2005 18:14:13 +0000 (18:14 +0000)
committeralex <alex>
Thu, 1 Sep 2005 18:14:13 +0000 (18:14 +0000)
lustre/obdfilter/filter_io_26.c

index 23f6b33..8c1eb35 100644 (file)
@@ -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,