summaryrefslogtreecommitdiff
path: root/ipc/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-12-03 21:23:58 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:49 +0300
commitafa7cb0c36bd511362bcb03c6db8af74186176bf (patch)
tree5cdc1e955ffbfdab2e4b3a573988d1507b10b433 /ipc/util.h
parent33c74e4119a91c3ae87fc207777e34fdbb613c66 (diff)
downloadlinux-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