diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-15 22:15:26 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 21:27:09 +0300 |
commit | d92b83f592d810aded2e5f90db5f560cc8cf577b (patch) | |
tree | 6f1e09ed5dddae7fbe8b1d8fec6f0ecb306a119c /fs/bcachefs/fs.h | |
parent | 741c1d3ec1a4a91d0bf18f200e2f0f8bed1ee7e9 (diff) | |
download | linux-d92b83f592d810aded2e5f90db5f560cc8cf577b.tar.xz |
bcachefs: bch2_kthread_io_clock_wait() no longer sleeps until full amount
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>
Diffstat (limited to 'fs/bcachefs/fs.h')
0 files changed, 0 insertions, 0 deletions