Revision d92b83f592d810aded2e5f90db5f560cc8cf577b authored by Kent Overstreet on 15 January 2024, 19:15:26 UTC, committed by Kent Overstreet on 21 January 2024, 18:27:09 UTC
Drop t he loop in bch2_kthread_io_clock_wait(): this allows the code
that uses it to be woken up for other reasons, and fixes a bug where
rebalance wouldn't wake up when a scan was requested.

This raises the possibility of spurious wakeups, but callers should
always be able to handle that reasonably well.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 741c1d3
History
File Mode Size
Kconfig -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 380 bytes
cache.c -rw-r--r-- 9.6 KB
daemon.c -rw-r--r-- 18.2 KB
error_inject.c -rw-r--r-- 849 bytes
interface.c -rw-r--r-- 12.2 KB
internal.h -rw-r--r-- 14.3 KB
io.c -rw-r--r-- 17.5 KB
key.c -rw-r--r-- 3.4 KB
main.c -rw-r--r-- 2.1 KB
namei.c -rw-r--r-- 21.6 KB
ondemand.c -rw-r--r-- 12.6 KB
security.c -rw-r--r-- 2.5 KB
volume.c -rw-r--r-- 3.3 KB
xattr.c -rw-r--r-- 7.7 KB

back to top