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-- 527 bytes
Makefile -rw-r--r-- 291 bytes
attr.c -rw-r--r-- 3.1 KB
bfind.c -rw-r--r-- 4.9 KB
bitmap.c -rw-r--r-- 5.8 KB
bnode.c -rw-r--r-- 11.5 KB
brec.c -rw-r--r-- 13.6 KB
btree.c -rw-r--r-- 9.0 KB
btree.h -rw-r--r-- 5.3 KB
catalog.c -rw-r--r-- 9.8 KB
dir.c -rw-r--r-- 8.0 KB
extent.c -rw-r--r-- 14.0 KB
hfs.h -rw-r--r-- 9.1 KB
hfs_fs.h -rw-r--r-- 9.3 KB
inode.c -rw-r--r-- 18.8 KB
mdb.c -rw-r--r-- 10.1 KB
part_tbl.c -rw-r--r-- 2.9 KB
string.c -rw-r--r-- 3.7 KB
super.c -rw-r--r-- 12.1 KB
sysdep.c -rw-r--r-- 1.2 KB
trans.c -rw-r--r-- 3.4 KB

back to top