From: liuy Date: Thu, 1 Nov 2007 02:06:06 +0000 (+0000) Subject: b=13884 X-Git-Tag: v1_8_0_110~1040 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=b7904bfd0897e43ec7c613d81161c2e6806aca4e;p=fs%2Flustre-release.git b=13884 i=adilger, deen change the error message in llu_file_prwv() --- diff --git a/lustre/liblustre/rw.c b/lustre/liblustre/rw.c index 4727947..16146f9 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); }