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-- 287 bytes
acl.c -rw-r--r-- 7.8 KB
acl.h -rw-r--r-- 1.6 KB
cache.c -rw-r--r-- 1.8 KB
cache.h -rw-r--r-- 572 bytes
fid.c -rw-r--r-- 7.3 KB
fid.h -rw-r--r-- 1.9 KB
v9fs.c -rw-r--r-- 16.1 KB
v9fs.h -rw-r--r-- 8.0 KB
v9fs_vfs.h -rw-r--r-- 3.3 KB
vfs_addr.c -rw-r--r-- 9.3 KB
vfs_dentry.c -rw-r--r-- 2.4 KB
vfs_dir.c -rw-r--r-- 5.4 KB
vfs_file.c -rw-r--r-- 14.4 KB
vfs_inode.c -rw-r--r-- 33.5 KB
vfs_inode_dotl.c -rw-r--r-- 25.0 KB
vfs_super.c -rw-r--r-- 7.4 KB
xattr.c -rw-r--r-- 5.0 KB
xattr.h -rw-r--r-- 894 bytes

back to top