diff options
author | N Balachandran <nbalacha@redhat.com> | 2018-02-05 13:39:22 +0530 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2018-02-05 13:43:08 +0530 |
commit | 3f824314f6367206681152c7523bacbfb30fa945 (patch) | |
tree | c917a6d46b17343365e1b9ebd15498f825b2a45d /xlators/cluster/dht/src/dht-lock.c | |
parent | e7ee4d8949b015a1421d4d97b763ccb4dcfc6eb1 (diff) |
cluster/dht: Cleanup on fallocate failure
It looks like fallocate leaves a non-empty
file behind in case of some failures. We now
truncate the file to 0 bytes on failure in
__dht_rebalance_create_dst_file.
Change-Id: Ia4ad7b94bb3624a301fcc87d9e36c4dc751edb59
BUG: 1541916
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-lock.c')
0 files changed, 0 insertions, 0 deletions