Project

General

Profile

Bug #12664

Crash during TestInternal.MultipleResize

Added by Jason Dillaman over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

#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

Also available in: Atom PDF