]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Limit private discarded queue for threads to a small items count.
authorGabriel BenHanokh <gbenhano@redhat.com>
Tue, 9 Apr 2024 07:53:15 +0000 (07:53 +0000)
committerYite Gu <yitegu0@gmail.com>
Wed, 7 Aug 2024 02:46:46 +0000 (10:46 +0800)
commit1f0031e52dce525dae6769bd4dee381f35aac397
tree729dabffbc30ede1f6da7f8b033e49a7b2088f50
parentd65eebc478d0a9bd366f3b5cc38fb4c84aa00dc8
Limit private discarded queue for threads to a small items count.
On fast-shutdown take over the main discarded queue copying it to the allocator and only wait for the threads to commit their small private discarded queues

Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
(cherry picked from commit 1e10a9be72bb95488bb4f15406349ba1b737c09d)
src/blk/BlockDevice.h
src/blk/kernel/KernelDevice.cc
src/blk/kernel/KernelDevice.h
src/os/bluestore/BlueStore.cc