Bug #12664
Crash during TestInternal.MultipleResize
0%
Description
A race condition is possible where the same request can be issued twice, leading to a crash:
[ RUN ] TestInternal.MultipleResize pure virtual method called terminate called without an active exception ./test/run-rbd-unit-tests.sh: line 10: 8974 Aborted (core dumped) RBD_FEATURES=$i unittest_librbd
Related issues
Associated revisions
librbd: prevent race condition between resize requests
It was possible that the same resize request could be sent twice
if a completed resize op started a newly created resize op while
it was also being concurrently started by another thread.
Fixes: #12664
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
librbd: prevent race condition between resize requests
It was possible that the same resize request could be sent twice
if a completed resize op started a newly created resize op while
it was also being concurrently started by another thread.
Fixes: #12664
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6ec431bac1cf9446f3af90209d193dfcf003f2c5)
History
#1 Updated by Jason Dillaman over 8 years ago
- Status changed from New to In Progress
#2 Updated by Jason Dillaman over 8 years ago
- Status changed from In Progress to Fix Under Review
#3 Updated by Loïc Dachary over 8 years ago
#4 Updated by Jason Dillaman over 8 years ago
- Status changed from Fix Under Review to Pending Backport
#5 Updated by Josh Durgin over 8 years ago
- Status changed from Pending Backport to Resolved