]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
blk: Expand collect_alerts to allow specialization
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 14 Apr 2026 17:57:42 +0000 (17:57 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Wed, 22 Apr 2026 14:22:18 +0000 (14:22 +0000)
commite952b0c9fd240ad0318c744091bf32201e4ee76c
tree1af50eb69efd5cd3e809c6dfe47011508e1f1b6d
parentb5d482262b9dedd76e6119289e0973e7235c7f81
blk: Expand collect_alerts to allow specialization

Previously we had BlockDevice::collect_alerts that had fixed
implementation.
Expanded BlockDevice::collect_alerts into virtual, so KernelDevice can
override it.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/blk/BlockDevice.h
src/blk/kernel/KernelDevice.cc
src/blk/kernel/KernelDevice.h