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.9 KB
Makefile -rw-r--r-- 335 bytes
bio.c -rw-r--r-- 5.9 KB
crypto.c -rw-r--r-- 13.6 KB
fname.c -rw-r--r-- 20.8 KB
fscrypt_private.h -rw-r--r-- 21.5 KB
hkdf.c -rw-r--r-- 5.4 KB
hooks.c -rw-r--r-- 14.4 KB
inline_crypt.c -rw-r--r-- 15.2 KB
keyring.c -rw-r--r-- 36.3 KB
keysetup.c -rw-r--r-- 24.4 KB
keysetup_v1.c -rw-r--r-- 9.4 KB
policy.c -rw-r--r-- 27.3 KB

back to top