diff options
author | Ashish Pandey <aspandey@redhat.com> | 2019-12-04 17:06:18 +0530 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-02-03 06:08:37 +0000 |
commit | c1c2afd920ab6135ffcd0e1ecb25e71449037c9e (patch) | |
tree | a9535446c8ed71c75433771b4a7b0668ae515c58 /xlators/cluster/ec/src/ec-combine.c | |
parent | 06eb3d0b8488d12a92ea21b92727497c585bae4b (diff) | |
download | glusterfs-c1c2afd920ab6135ffcd0e1ecb25e71449037c9e.tar.gz glusterfs-c1c2afd920ab6135ffcd0e1ecb25e71449037c9e.tar.xz glusterfs-c1c2afd920ab6135ffcd0e1ecb25e71449037c9e.zip |
Improve logging in EC, client and lock translator
Change-Id: I98af8672a25ff9fd9dba91a2e1384719f9155255
Fixes: bz#1779760
Diffstat (limited to 'xlators/cluster/ec/src/ec-combine.c')
-rw-r--r-- | xlators/cluster/ec/src/ec-combine.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/ec/src/ec-combine.c b/xlators/cluster/ec/src/ec-combine.c index dedcfb076a..9d712b359a 100644 --- a/xlators/cluster/ec/src/ec-combine.c +++ b/xlators/cluster/ec/src/ec-combine.c @@ -179,13 +179,14 @@ ec_iatt_combine(ec_fop_data_t *fop, struct iatt *dst, struct iatt *src, "links: %u-%u, uid: %u-%u, gid: %u-%u, " "rdev: %" PRIu64 "-%" PRIu64 ", size: %" PRIu64 "-%" PRIu64 ", " - "mode: %o-%o)", + "mode: %o-%o), %s", dst[i].ia_ino, src[i].ia_ino, dst[i].ia_nlink, src[i].ia_nlink, dst[i].ia_uid, src[i].ia_uid, dst[i].ia_gid, src[i].ia_gid, dst[i].ia_rdev, src[i].ia_rdev, dst[i].ia_size, src[i].ia_size, st_mode_from_ia(dst[i].ia_prot, dst[i].ia_type), - st_mode_from_ia(src[i].ia_prot, dst[i].ia_type)); + st_mode_from_ia(src[i].ia_prot, dst[i].ia_type), + ec_msg_str(fop)); return 0; } |