bcachefs: Don't check for -ENOSPC in page writeback
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 11 Nov 2021 18:02:03 +0000 (13:02 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:16 +0000 (17:09 -0400)
commitf74a5051b0e58a8f4fab26a2fc65b95ee17df7a0
treecfa53595759cf43bf93a915e50330d10c5de2993
parent770e821485e0021ea325f7aa2133fddb46ba0821
bcachefs: Don't check for -ENOSPC in page writeback

If at all possible we'd prefer to not fail page writeback unless the
filesystem has been shutdown; allowing errors in page writeback means
things we'd like to assert about i_size consistency between the VFS and
the btree go out the window.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/fs-io.c