summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2018-02-05 13:39:22 +0530
committerjiffin tony Thottan <jthottan@redhat.com>2018-02-09 08:52:00 +0000
commit1818a3eb5225da5edaa362ddf56474ea72e5091a (patch)
treea73e98bb40f2cc7f6447d4088220d95af02ffc62 /libglusterfs
parentb0544a8f7257660e9c9a24284f262a5a384ee6cd (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> Change-Id: Ia4ad7b94bb3624a301fcc87d9e36c4dc751edb59 BUG: 1542601 Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions