diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-12-03 21:23:58 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:49 +0300 |
commit | afa7cb0c36bd511362bcb03c6db8af74186176bf (patch) | |
tree | 5cdc1e955ffbfdab2e4b3a573988d1507b10b433 /ipc/util.h | |
parent | 33c74e4119a91c3ae87fc207777e34fdbb613c66 (diff) | |
download | linux-afa7cb0c36bd511362bcb03c6db8af74186176bf.tar.xz |
bcachefs: Check for errors in bch2_journal_reclaim()
If the journal is halted, journal reclaim won't necessarily be able to
make any forward progress, and won't accomplish anything anyways - we
should bail out so that we don't get stuck looping in reclaim when the
caches are too dirty and we should be shutting down.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions