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-- 717 bytes
Makefile -rw-r--r-- 247 bytes
alloc.c -rw-r--r-- 14.4 KB
anode.c -rw-r--r-- 15.4 KB
buffer.c -rw-r--r-- 5.3 KB
dentry.c -rw-r--r-- 1.4 KB
dir.c -rw-r--r-- 8.6 KB
dnode.c -rw-r--r-- 30.4 KB
ea.c -rw-r--r-- 11.4 KB
file.c -rw-r--r-- 6.8 KB
hpfs.h -rw-r--r-- 17.9 KB
hpfs_fn.h -rw-r--r-- 13.1 KB
inode.c -rw-r--r-- 8.9 KB
map.c -rw-r--r-- 9.8 KB
name.c -rw-r--r-- 3.2 KB
namei.c -rw-r--r-- 15.6 KB
super.c -rw-r--r-- 19.9 KB

back to top