Whamcloud - gitweb
b=21137 sles11 with 1.8 is slower than 1.6 sles10 for O_DIRECT single file IOR writes
authorDmitry Zogin <dmitry.zoguine@oracle.com>
Wed, 15 Sep 2010 19:41:32 +0000 (15:41 -0400)
committerAndrew Perepechko <andrew.perepechko@sun.com>
Wed, 15 Sep 2010 19:47:06 +0000 (23:47 +0400)
 Extra debug logging in filter_do_bio()

 i=andreas.dilger
 i=andrew.perepechko

lustre/obdfilter/filter_io_26.c

index a10cb14..eddf266 100644 (file)
@@ -374,14 +374,17 @@ int filter_do_bio(struct obd_export *exp, struct inode *inode,
 
                                 /* Dang! I have to fragment this I/O */
                                 CDEBUG(D_INODE, "bio++ sz %d vcnt %d(%d) "
-                                       "sectors %d(%d) psg %d(%d) hsg %d(%d)\n",
+                                       "sectors %d(%d) psg %d(%d) hsg %d(%d) "
+                                       "sector "LPU64" next "LPU64"\n",
                                        bio->bi_size,
                                        bio->bi_vcnt, bio->bi_max_vecs,
                                        bio->bi_size >> 9, queue_max_sectors(q),
                                        bio_phys_segments(q, bio),
                                        queue_max_phys_segments(q),
                                        bio_hw_segments(q, bio),
-                                       queue_max_hw_segments(q));
+                                       queue_max_hw_segments(q),
+                                       (u64)bio->bi_sector,
+                                       (u64)sector);
 
                                 record_start_io(iobuf, rw, bio->bi_size, exp);
                                 rc = fsfilt_send_bio(rw, obd, inode, bio);