summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-991622.t
diff options
context:
space:
mode:
authorSusant Palai <spalai@redhat.com>2014-02-19 05:47:07 +0000
committerVijay Bellur <vbellur@redhat.com>2014-05-28 10:39:22 -0700
commitdeaaaec82a0aae1edfeb0688e20498fafa896c83 (patch)
tree79ecfd4d1f8a5a6cc07d19aaab852713f9b0a842 /tests/bugs/bug-991622.t
parent847a481ceb626af97a1487c6289cdd92677b212a (diff)
DHT: Wrong error handling in gf_defrag_migrate_data
Problem: Because of the condition (err = op_errno), err was set to zero always and ENOSPC error will be logged always. "dht_check_free_ space" was returning 1 and it was mapped to EPERM in "rebalance_task _completion". Solution: Changed the return value in dht_check_free_space to -1 as in rebalance_task_completion op_ret value -1 is mapped to ENOSPC. And fixed the wrong error condition after syncop_setxattr in gf_defrag_migrate_data. Change-Id: I474ea1bef3b1e34c89814ed0091dd02bd5b63737 BUG: 1054703 Signed-off-by: Susant Palai <spalai@redhat.com> Reviewed-on: http://review.gluster.org/6727 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs/bug-991622.t')
0 files changed, 0 insertions, 0 deletions