diff options
author | Raghavendra G <rgowdapp@redhat.com> | 2018-03-16 12:16:43 +0530 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2018-05-07 05:37:06 +0000 |
commit | 01a7d27bbaf12618fde56ca05cf9c953445493f3 (patch) | |
tree | 6f4e4cbfeca22e13c83b44c4c1f935964e68b70c /xlators/cluster/dht/src/dht-rename.c | |
parent | 33131131469e18d3ebbdc6ce741c2984dc77b290 (diff) |
cluster/dht: log error only if layout healing is required
selfhealing of directory is invoked on two conditions:
1. no layout on disk or layout has some anomalies (holes/overlaps)
2. mds xattr is not set on the directory
When dht_selfheal_directory is called with a correct layout just to
set mds xattr, we see error msgs complaining about "not able to form
layout on directory", which is misleading as the layout is
correct. So, log this msg only if layout has anomalies.
Change-Id: I4af25246fc3a2450c2426e9902d1a5b372eab125
updates: bz#1543279
BUG: 1543279
Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-rename.c')
0 files changed, 0 insertions, 0 deletions