summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-common.c
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2017-07-10 15:45:04 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2017-07-19 11:25:43 +0000
commit59d29cfc4300251b8bc92e41e5bc29790d8f2db6 (patch)
treec2ae9e8db03b1e7a8a503734c6f6f4f804bf3107 /xlators/cluster/ec/src/ec-common.c
parent856aa0ff090fa08629493e7848e5c446a93a9f2d (diff)
cluster/dht: Clear clean_dst flag on target change
If the target of a file migration was changed because of min-free-disk limits, the dst_fd was closed but the clean_dst flag was not set to false. If the file could not be created on the new target for some reason, the ftruncate call to clean up the dst was sent on the now invalid fd causing the process to deadlock. > BUG: 1469029 > Signed-off-by: N Balachandran <nbalacha@redhat.com> > Reviewed-on: https://review.gluster.org/17735 > Smoke: Gluster Build System <jenkins@build.gluster.org> > CentOS-regression: Gluster Build System <jenkins@build.gluster.org> > Reviewed-by: Amar Tumballi <amarts@redhat.com> > Reviewed-by: Raghavendra G <rgowdapp@redhat.com> (cherry picked from commit bd71ca4fdf2554dd22c0db70af132a11b966ef38) Change-Id: I5bfa80f519b04567413d84229cf62d143c6e2f04 BUG: 1469459 Signed-off-by: N Balachandran <nbalacha@redhat.com> Reviewed-on: https://review.gluster.org/17745 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Susant Palai <spalai@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-common.c')
0 files changed, 0 insertions, 0 deletions