]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
blk/kerneldevice: notify_all only required when discard_drain wait for condition 59529/head
authorYite Gu <yitegu0@gmail.com>
Fri, 30 Aug 2024 11:31:36 +0000 (19:31 +0800)
committerYite Gu <yitegu0@gmail.com>
Sat, 19 Oct 2024 05:45:06 +0000 (13:45 +0800)
commitcec2e4550fe520fa60445678934c04ba605913be
tree76e9eb3aaeb37fea52723982dfc18cb042654508
parent4b542157008d69fefd24ac9a59426d015a6df1aa
blk/kerneldevice: notify_all only required when discard_drain wait for condition

This will cause discard threads to wake up each other
if bdev_async_discard_threads >= 2.

Fixes: https://tracker.ceph.com/issues/67835
Signed-off-by: Yite Gu <yitegu0@gmail.com>
src/blk/kernel/KernelDevice.cc
src/blk/kernel/KernelDevice.h