Project

General

Profile

Actions

Bug #61503

closed

SimpleSchedulerObjectDispatch decrements iterator before first element

Added by Lucian Petrut 12 months ago. Updated 11 months ago.

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

0%

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

Description

While trying to merge delayed requests, librbd's SimpleSchedulerObjectDispatch can end up iterating before the first element.

With llvm, this leads to a crash:
https://paste.opendev.org/raw/bxnQqqDtIrkOfVvRfkZ6/
https://github.com/ceph/ceph/blob/d2205f5f8e13b7da2e2b40d5d68b372f49f6642b/src/librbd/io/SimpleSchedulerObjectDispatch.cc#L107-L109


Related issues 3 (0 open3 closed)

Copied to rbd - Backport #61525: pacific: SimpleSchedulerObjectDispatch decrements iterator before first elementResolvedLucian PetrutActions
Copied to rbd - Backport #61526: reef: SimpleSchedulerObjectDispatch decrements iterator before first elementResolvedLucian PetrutActions
Copied to rbd - Backport #61527: quincy: SimpleSchedulerObjectDispatch decrements iterator before first elementResolvedLucian PetrutActions
Actions #1

Updated by Ilya Dryomov 12 months ago

  • Project changed from Ceph to rbd
  • Status changed from New to Fix Under Review
  • Pull request ID set to 51828
Actions #2

Updated by Ilya Dryomov 12 months ago

  • Subject changed from librbd SimpleSchedulerObjectDispatch decrements iterator before first element to SimpleSchedulerObjectDispatch decrements iterator before first element
Actions #3

Updated by Ilya Dryomov 12 months ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Backport Bot 12 months ago

  • Copied to Backport #61525: pacific: SimpleSchedulerObjectDispatch decrements iterator before first element added
Actions #5

Updated by Backport Bot 12 months ago

  • Copied to Backport #61526: reef: SimpleSchedulerObjectDispatch decrements iterator before first element added
Actions #6

Updated by Backport Bot 12 months ago

  • Copied to Backport #61527: quincy: SimpleSchedulerObjectDispatch decrements iterator before first element added
Actions #7

Updated by Backport Bot 12 months ago

  • Tags set to backport_processed
Actions #8

Updated by Backport Bot 11 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF