summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRajesh Amaravathi <rajesh.amaravathi@gmail.com>2011-09-06 17:29:31 +0530
committerVijay Bellur <vijay@gluster.com>2011-11-30 03:25:01 -0800
commit44a6dc9c392297be16c2e206fdc4e75a1b993497 (patch)
tree23dcfabfe96e975f9744e3809ab0234be3d4dd9e /xlators
parent1b9bee028114dc8a1f0d744b1cc9318eefbfa01d (diff)
storage/posix: posix getxattr log enhancement
Now the key is logged with getxattr failure. BUG: 3283 Change-Id: Idc09b26c9196dded314df78ce3c765573160452b Reviewed-on: http://review.gluster.com/373 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.com> Reviewed-on: http://review.gluster.com/755 Reviewed-by: Harshavardhana <fharshav@redhat.com> Tested-by: Harshavardhana <fharshav@redhat.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/storage/posix/src/posix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 30b2b728b5c..347741da186 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -3930,13 +3930,13 @@ do_xattrop (call_frame_t *frame, xlator_t *this,
if (loc)
gf_log (this->name, GF_LOG_ERROR,
"getxattr failed on %s while doing "
- "xattrop: %s", path,
- strerror (op_errno));
+ "xattrop: Key:%s (%s)", path,
+ trav->key, strerror (op_errno));
else
gf_log (this->name, GF_LOG_ERROR,
"fgetxattr failed on fd=%d while doing "
- "xattrop: %s", _fd,
- strerror (op_errno));
+ "xattrop: Key:%s (%s)", _fd,
+ trav->key, strerror (op_errno));
}
op_ret = -1;