Whamcloud - gitweb
- stuped typo fixed
authoralex <alex>
Mon, 8 Sep 2003 13:17:14 +0000 (13:17 +0000)
committeralex <alex>
Mon, 8 Sep 2003 13:17:14 +0000 (13:17 +0000)
lustre/obdfilter/filter_io_26.c

index e674925..696a9d0 100644 (file)
@@ -173,7 +173,7 @@ int filter_commitrw_write(struct obd_export *exp, int objcount,
         }
 
        /* time to wait for I/O completion */
-        wait_event(dreq->wait, atomic_read(&dreq->numreqs) == 1);
+        wait_event(dreq->wait, atomic_read(&dreq->numreqs) == 0);
 
         /* free all bios */
         while (dreq->bio_list) {