From b7904bfd0897e43ec7c613d81161c2e6806aca4e Mon Sep 17 00:00:00 2001
From: liuy <liuy>
Date: Thu, 1 Nov 2007 02:06:06 +0000
Subject: [PATCH] b=13884 i=adilger, deen

change the error message in llu_file_prwv()
---
 lustre/liblustre/rw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/liblustre/rw.c b/lustre/liblustre/rw.c
index 47279477fe..16146f9549 100644
--- a/lustre/liblustre/rw.c
+++ b/lustre/liblustre/rw.c
@@ -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);
         }
 
-- 
GitLab