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.2 KB
Makefile -rw-r--r-- 567 bytes
addr_list.c -rw-r--r-- 8.5 KB
afs.h -rw-r--r-- 6.8 KB
afs_cm.h -rw-r--r-- 1006 bytes
afs_fs.h -rw-r--r-- 2.7 KB
afs_vl.h -rw-r--r-- 5.1 KB
callback.c -rw-r--r-- 5.9 KB
cell.c -rw-r--r-- 23.4 KB
cmservice.c -rw-r--r-- 15.8 KB
dir.c -rw-r--r-- 53.0 KB
dir_edit.c -rw-r--r-- 12.9 KB
dir_silly.c -rw-r--r-- 7.4 KB
dynroot.c -rw-r--r-- 8.8 KB
file.c -rw-r--r-- 14.7 KB
flock.c -rw-r--r-- 23.4 KB
fs_operation.c -rw-r--r-- 5.8 KB
fs_probe.c -rw-r--r-- 12.0 KB
fsclient.c -rw-r--r-- 47.8 KB
inode.c -rw-r--r-- 25.4 KB
internal.h -rw-r--r-- 59.6 KB
main.c -rw-r--r-- 5.9 KB
misc.c -rw-r--r-- 4.8 KB
mntpt.c -rw-r--r-- 5.0 KB
proc.c -rw-r--r-- 16.3 KB
protocol_afs.h -rw-r--r-- 654 bytes
protocol_uae.h -rw-r--r-- 6.8 KB
protocol_yfs.h -rw-r--r-- 4.9 KB
rotate.c -rw-r--r-- 13.2 KB
rxrpc.c -rw-r--r-- 23.1 KB
security.c -rw-r--r-- 11.6 KB
server.c -rw-r--r-- 18.2 KB
server_list.c -rw-r--r-- 2.9 KB
super.c -rw-r--r-- 17.9 KB
vl_alias.c -rw-r--r-- 9.2 KB
vl_list.c -rw-r--r-- 7.9 KB
vl_probe.c -rw-r--r-- 7.4 KB
vl_rotate.c -rw-r--r-- 8.9 KB
vlclient.c -rw-r--r-- 18.4 KB
volume.c -rw-r--r-- 10.9 KB
write.c -rw-r--r-- 25.9 KB
xattr.c -rw-r--r-- 8.3 KB
xdr_fs.h -rw-r--r-- 2.7 KB
yfsclient.c -rw-r--r-- 47.4 KB

back to top