Project

General

Profile

Actions

Bug #58833

closed

rbd_op_threads setting is ignored

Added by Ilya Dryomov about 1 year ago. Updated about 1 year ago.

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

0%

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

Description

rbd_op_threads is supposed to affect the number of threads in the ASIO thread pool in librados:

  auto rados_threads = m_cct->_conf.get_val<uint64_t>("librados_thread_count");
  auto rbd_threads = m_cct->_conf.get_val<uint64_t>("rbd_op_threads");
  if (rbd_threads > rados_threads) {
    // inherit the librados thread count -- but increase it if librbd wants to
    // utilize more threads
    m_cct->_conf.set_val("librados_thread_count", stringify(rbd_threads));
  }

However the actual number of threads appears to change only with librados_thread_count.


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #58859: quincy: rbd_op_threads setting is ignoredResolvedIlya DryomovActions
Copied to rbd - Backport #58860: pacific: rbd_op_threads setting is ignoredResolvedIlya DryomovActions
Actions #1

Updated by Ilya Dryomov about 1 year ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to pacific,quincy
  • Pull request ID set to 50230
Actions #2

Updated by Ilya Dryomov about 1 year ago

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

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58859: quincy: rbd_op_threads setting is ignored added
Actions #4

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58860: pacific: rbd_op_threads setting is ignored added
Actions #5

Updated by Backport Bot about 1 year ago

  • Tags set to backport_processed
Actions #6

Updated by Backport Bot about 1 year 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