Project

General

Profile

Bug #12664

Crash during TestInternal.MultipleResize

Added by Jason Dillaman about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
08/10/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

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

Copied to rbd - Backport #12850: Crash during TestInternal.MultipleResize Resolved 08/10/2015

Associated revisions

Revision 6ec431ba (diff)
Added by Jason Dillaman about 3 years ago

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 <>

Revision 00e73adb (diff)
Added by Jason Dillaman almost 3 years ago

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 <>
(cherry picked from commit 6ec431bac1cf9446f3af90209d193dfcf003f2c5)

History

#1 Updated by Jason Dillaman about 3 years ago

  • Status changed from New to In Progress

#2 Updated by Jason Dillaman about 3 years ago

  • Status changed from In Progress to Need Review

#4 Updated by Jason Dillaman about 3 years ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Josh Durgin almost 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF