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.0 KB
Makefile -rw-r--r-- 385 bytes
cache.c -rw-r--r-- 3.0 KB
cnode.c -rw-r--r-- 5.0 KB
coda_cache.h -rw-r--r-- 712 bytes
coda_fs_i.h -rw-r--r-- 1.9 KB
coda_int.h -rw-r--r-- 611 bytes
coda_linux.c -rw-r--r-- 5.2 KB
coda_linux.h -rw-r--r-- 2.7 KB
coda_psdev.h -rw-r--r-- 3.3 KB
dir.c -rw-r--r-- 14.1 KB
file.c -rw-r--r-- 8.7 KB
inode.c -rw-r--r-- 7.3 KB
pioctl.c -rw-r--r-- 2.2 KB
psdev.c -rw-r--r-- 10.1 KB
symlink.c -rw-r--r-- 1.1 KB
sysctl.c -rw-r--r-- 1.1 KB
upcall.c -rw-r--r-- 24.4 KB

back to top