Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Wed, 21 Sep 2005 06:22:46 +0000 (06:22 +0000)
committeradilger <adilger>
Wed, 21 Sep 2005 06:22:46 +0000 (06:22 +0000)
Improve error message if fsfilt_ext3_write_record fails to start a transaction.
b=8317 (debugging of)
r=phil

lustre/lvfs/fsfilt_ext3.c

index 458feb8..b13724d 100644 (file)
@@ -1093,7 +1093,8 @@ static int fsfilt_ext3_write_record(struct file *file, void *buf, int bufsize,
                                block_count * EXT3_DATA_TRANS_BLOCKS + 2);
         unlock_24kernel();
         if (IS_ERR(handle)) {
-                CERROR("can't start transaction\n");
+                CERROR("can't start transaction for %d blocks (%d bytes)\n",
+                       block_count * EXT3_DATA_TRANS_BLOCKS + 2, bufsize);
                 return PTR_ERR(handle);
         }