diff options
author | N Balachandran <nbalacha@redhat.com> | 2018-02-19 09:44:29 +0530 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2018-03-05 04:53:14 +0000 |
commit | 311d8fa104d27523439d6b2048a403e058f8f0ae (patch) | |
tree | e669b33199b8ec7fd0721f6170db564459ff29ae /xlators/cluster/afr/src/afr-self-heal-metadata.c | |
parent | 5624f69bcd28ceabee3f8c545b8febc5929caee0 (diff) |
cluster/dht: Handle single dht child in dht_lookup
This patch limits itself to only handling the case
where no file (data or linkto) exists on the subvol.
Additional cases to be handled:
1. A linkto file was found on the only child subvol. This currently
calls dht_lookup_everywhere which eventually deletes it. It can be
deleted directly as it will not be pointing to a valid subvol.
2. Directory lookups - locking might be unnecessary in some cases.
> Change-Id: I940ba34531f2aaee1d36fd9ca45ecfd46be662a4
> BUG: 1546620
> Signed-off-by: N Balachandran <nbalacha@redhat.com>
Change-Id: I940ba34531f2aaee1d36fd9ca45ecfd46be662a4
BUG: 1548270
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-metadata.c')
0 files changed, 0 insertions, 0 deletions