]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd,osd_operation: initialize mClock scheduler, detect rotational devices...
authorMohit Agrawal <moagrawa@redhat.com>
Mon, 28 Jul 2025 12:48:57 +0000 (18:18 +0530)
committerMohit Agrawal <moagrawa@redhat.com>
Fri, 5 Dec 2025 05:34:12 +0000 (11:04 +0530)
commit79c5e538881bad7cd65cbb627f5288abc8ce316d
tree993b7986679f50ca77a91936e3ceaed67465bb8d
parent53f130dc05ce6e32839828b2b9551ee994750a65
crimson/osd,osd_operation: initialize mClock scheduler, detect rotational devices, and run OperationThrottler background task

Initialize the mClock scheduler on all shards when the device class
is non-rotational. If the device is rotational throw an exception
to prevent unsupported configurations.

In addition, introduce a background task in OperationThrottler that
continuously dequeues and schedules client requests from the mClock
scheduler based on available credits and throttling limits.

Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
src/crimson/osd/osd.cc
src/crimson/osd/osd.h
src/crimson/osd/osd_operation.cc
src/crimson/osd/osd_operation.h
src/crimson/osd/shard_services.h