[GIT PULL] more bcachefs fixes for 6.7

From: Kent Overstreet
Date: Wed Dec 27 2023 - 11:45:01 EST


Hi Linus, few more small fixes for you

Cheers,
Kent


The following changes since commit 247ce5f1bb3ea90879e8552b8edf4885b9a9f849:

bcachefs: Fix bch2_alloc_sectors_start_trans() error handling (2023-12-19 19:01:52 -0500)

are available in the Git repository at:

https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-2023-12-27

for you to fetch changes up to 7b474c77daddaf89bbb72594737538f4e0dce2fd:

bcachefs: Fix promotes (2023-12-26 19:31:11 -0500)

----------------------------------------------------------------
More bcachefs bugfixes for 6.7:

Just a few fixes: besides a few one liners, we have a fix for snapshots
+ compression where the extent update path didn't account for the fact
that with snapshots, we might split an existing extent into three, not
just two; and a small fixup for promotes which were broken by the recent
changes in the data update path to correctly take into account device
durability.

----------------------------------------------------------------
Kent Overstreet (4):
bcachefs: fix BCH_FSCK_ERR enum
bcachefs: Fix insufficient disk reservation with compression + snapshots
bcachefs: Fix leakage of internal error code
bcachefs: Fix promotes

fs/bcachefs/btree_update.c | 15 ++++++++-------
fs/bcachefs/data_update.c | 3 ++-
fs/bcachefs/error.h | 2 +-
fs/bcachefs/journal_io.c | 6 ++++--
fs/bcachefs/sb-errors.h | 2 +-
5 files changed, 16 insertions(+), 12 deletions(-)