diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2016-04-28 08:42:40 +0200 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-05-02 07:45:01 -0700 |
commit | 209985e861f4d8a22bfdb457c0e8d7045ab44553 (patch) | |
tree | b230d7fcf9f9d3c313a7745642826882c6a9e22c /api | |
parent | 77def44d497d090ef3f393b6d9403c1a29dcf993 (diff) |
cluster/ec: Fix issues with eager locking
Due to a race in timer cancellation, in some cases it was possible
to unlock the lock while another concurrent fop that needed it
continues execution as if it were not released.
This patch also fixes an issue that caused a lock to not be released
if an error was found while preparing ec_update_size_version().
Change-Id: I1344a3f5ecfc333f05a09e62653838264c9c26b1
BUG: 1331254
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: http://review.gluster.org/14112
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Chen Chen <chenchen@smartquerier.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions