diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-15 14:15:26 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 13:27:09 -0500 |
commit | d92b83f592d810aded2e5f90db5f560cc8cf577b (patch) | |
tree | 6f1e09ed5dddae7fbe8b1d8fec6f0ecb306a119c /Documentation/nvdimm | |
parent | 741c1d3ec1a4a91d0bf18f200e2f0f8bed1ee7e9 (diff) | |
download | linux-stable-d92b83f592d810aded2e5f90db5f560cc8cf577b.tar.gz linux-stable-d92b83f592d810aded2e5f90db5f560cc8cf577b.tar.bz2 linux-stable-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 'Documentation/nvdimm')
0 files changed, 0 insertions, 0 deletions