Project

General

Profile

Feature #13938

librbd: reuse ImageCtx::finisher and SafeTimer for lots of images case

Added by Haomai Wang over 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
librbd
Target version:
-
Start date:
12/01/2015
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
jewel
Reviewed:
Affected Versions:
Pull request ID:

Description

Each Image structure will create two new threads for finisher and SafeTimer, we may reuse these two threads in the same CephContext via lookup_or_create_singleton_object


Related issues

Copied to Ceph - Backport #15996: jewel: librbd: reuse ImageCtx::finisher and SafeTimer for lots of images case Resolved

Associated revisions

Revision dc6d6ce8 (diff)
Added by Haomai Wang almost 3 years ago

TaskFinisher: use singleton SafeTimer and Finisher

Fix #13938
Signed-off-by: Haomai Wang <>

Revision e424482d (diff)
Added by Haomai Wang almost 3 years ago

TaskFinisher: use singleton SafeTimer and Finisher

Fix #13938
Signed-off-by: Haomai Wang <>

(cherry picked from commit dc6d6ce8b29de51b69242e569517f69acfe226f4)

History

#1 Updated by Haomai Wang almost 3 years ago

  • Status changed from New to Resolved

#2 Updated by Jason Dillaman almost 3 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to jewel

Since rbd-mirror will hold potentially hundreds or thousands of images open, setting this for backport to jewel

#3 Updated by Nathan Cutler almost 3 years ago

  • Copied to Backport #15996: jewel: librbd: reuse ImageCtx::finisher and SafeTimer for lots of images case added

#5 Updated by Loic Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF