summaryrefslogtreecommitdiffstats
path: root/xlators/features/barrier
diff options
context:
space:
mode:
authorXavi Hernandez <xhernandez@redhat.com>2019-05-09 11:07:18 +0200
committerHari Gowtham <hgowtham@redhat.com>2019-06-28 16:37:08 +0530
commit257fee6312513498ee70765b9f343d5df77b1fce (patch)
tree202ae7cf7464c8ecdc03cc4858d3a12ca0ddbd09 /xlators/features/barrier
parent5355f5a18146183a8e27872ebee501acad7b5eb0 (diff)
cluster/ec: honor contention notifications for partially acquired locks
EC was ignoring lock contention notifications received while a lock was being acquired. When a lock is partially acquired (some bricks have granted the lock but some others not yet) we can receive notifications from acquired bricks, which should be honored, since we may not receive more notifications after that. Since EC was ignoring them, once the lock was acquired, it was not released until the eager-lock timeout, causing unnecessary delays on other clients. This fix takes into consideration the notifications received before having completed the full lock acquisition. After that, the lock will be releaed as soon as possible. Backport of: > BUG: bz#1708156 > Change-Id: I2a306dbdb29fb557dcab7788a258bd75d826cc12 > Signed-off-by: Xavi Hernandez <xhernandez@redhat.com> Fixes: bz#1717282 Change-Id: I2a306dbdb29fb557dcab7788a258bd75d826cc12 Signed-off-by: Xavi Hernandez <xhernandez@redhat.com> Signed-off-by: Hari Gowtham <hgowtham@redhat.com>
Diffstat (limited to 'xlators/features/barrier')
0 files changed, 0 insertions, 0 deletions