]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
blk:Warning added for discard queue overflow
authorJaya Prakash <jayaprakash@ibm.com>
Thu, 9 Jan 2025 16:14:05 +0000 (21:44 +0530)
committerJaya Prakash <jayaprakash@ibm.com>
Thu, 3 Jul 2025 07:07:02 +0000 (07:07 +0000)
commit94168dcd02ff0c2a771e504a531ee5b04e575d25
treed248d2d4bc0dc78cf2176ec322628dc1ec509935
parentf768b9273887b71fd09e1c92ebbe6cced3dd26c8
blk:Warning added for discard queue overflow

Added a health warning mechanism to monitor the discard queue for potential overload
Emits a warning if the accumulated discarded bytes in the queue exceed the configured threshold
Introduced a debugging tool to simulate slow discard operations by adding a configurable delay

Fixes : https://tracker.ceph.com/issues/69082

Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
src/blk/BlockDevice.cc
src/blk/BlockDevice.h
src/blk/kernel/KernelDevice.cc