Whamcloud - gitweb
b=13884
authorliuy <liuy>
Thu, 1 Nov 2007 02:06:06 +0000 (02:06 +0000)
committerliuy <liuy>
Thu, 1 Nov 2007 02:06:06 +0000 (02:06 +0000)
i=adilger, deen

change the error message in llu_file_prwv()

lustre/liblustre/rw.c

index 4727947..16146f9 100644 (file)
@@ -738,7 +738,7 @@ ssize_t llu_file_prwv(const struct iovec *iovec, int iovlen,
 
         err = oig_wait(iogroup->lig_oig);
         if (err) {
-                CERROR("sync error %d, data corruption possible\n", err);
+                CERROR("%s error: %s\n", is_read ? "read" : "write", strerror(-err));
                 GOTO(err_unlock, err);
         }