]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Wed, 3 Dec 2025 12:30:17 +0000 (18:00 +0530)
commit888aaae41680fe1d7e71c559d25faa8c8e698769
tree5a944426ab5a83ad971b8fe5e38c92636d27dba4
parent313741faf047cea24a96e5bd66ee58d5a58d0105
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