diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-15 20:15:26 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 19:27:09 +0100 |
commit | d92b83f592d810aded2e5f90db5f560cc8cf577b (patch) | |
tree | 6f1e09ed5dddae7fbe8b1d8fec6f0ecb306a119c /fs/bcachefs/bkey.c | |
parent | bcachefs: Add .val_to_text() for KEY_TYPE_cookie (diff) | |
download | linux-d92b83f592d810aded2e5f90db5f560cc8cf577b.tar.xz linux-d92b83f592d810aded2e5f90db5f560cc8cf577b.zip |
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/bkey.c')
0 files changed, 0 insertions, 0 deletions