Project

General

Profile

Bug #36475

TokenBucketThrottle: use reference to m_blockers.front() and then update it.

Added by Yang Dongsheng 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/17/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

As we need to update the blocker below, then we need to use reference to front object,
rather than a new object of blocker.


Related issues

Copied to rbd - Backport #36529: mimic: TokenBucketThrottle: use reference to m_blockers.front() and then update it. Resolved

History

#2 Updated by Jason Dillaman 7 months ago

  • Status changed from New to Need Review

#3 Updated by Jason Dillaman 7 months ago

  • Status changed from Need Review to Pending Backport
  • Backport set to mimic

#4 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #36529: mimic: TokenBucketThrottle: use reference to m_blockers.front() and then update it. added

#5 Updated by Nathan Cutler 6 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF