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-- 228 bytes
Makefile -rw-r--r-- 356 bytes
acl.c -rw-r--r-- 4.0 KB
dcache.c -rw-r--r-- 3.6 KB
devorangefs-req.c -rw-r--r-- 21.9 KB
dir.c -rw-r--r-- 9.1 KB
downcall.h -rw-r--r-- 2.9 KB
file.c -rw-r--r-- 15.1 KB
inode.c -rw-r--r-- 29.4 KB
namei.c -rw-r--r-- 11.6 KB
orangefs-bufmap.c -rw-r--r-- 12.5 KB
orangefs-bufmap.h -rw-r--r-- 925 bytes
orangefs-cache.c -rw-r--r-- 4.3 KB
orangefs-debug.h -rw-r--r-- 2.5 KB
orangefs-debugfs.c -rw-r--r-- 24.4 KB
orangefs-debugfs.h -rw-r--r-- 311 bytes
orangefs-dev-proto.h -rw-r--r-- 2.1 KB
orangefs-kernel.h -rw-r--r-- 13.4 KB
orangefs-mod.c -rw-r--r-- 5.9 KB
orangefs-sysfs.c -rw-r--r-- 34.4 KB
orangefs-sysfs.h -rw-r--r-- 77 bytes
orangefs-utils.c -rw-r--r-- 15.3 KB
protocol.h -rw-r--r-- 11.2 KB
super.c -rw-r--r-- 17.1 KB
symlink.c -rw-r--r-- 497 bytes
upcall.h -rw-r--r-- 6.7 KB
waitqueue.c -rw-r--r-- 10.3 KB
xattr.c -rw-r--r-- 14.7 KB

back to top