diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-10-10 09:51:28 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-10-22 03:04:26 -0700 |
commit | 4b078cc079f221bb801988f1b5fed173ad40f9d6 (patch) | |
tree | 9a04c88ab4d220b2063ce6de6ac79864e91f2c30 /libglusterfs/src/fd.c | |
parent | d7e56dde3c19a11647eae9cf6a868c191c641489 (diff) |
logs: Do selective logging for errnos
Backport of http://review.gluster.org/8918
http://review.gluster.org/8955
Problem:
Just after replace-brick the mount logs are filled with ENOENT/ESTALE
warning logs because the file is yet to be self-healed now that the
brick is new.
Fix:
Do conditional logging for the logs. ENOENT/ESTALE will be logged at
lower log level. Only when debug logs are enabled, these logs will
be written to the logfile.
Change-Id: If203d09e2479e8c2415ebc14fb79d4fbb81dfc95
BUG: 1155027
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/8957
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src/fd.c')
0 files changed, 0 insertions, 0 deletions