[GIT PULL] bcachefs fixes for 6.14-rc7

From: Kent Overstreet
Date: Thu Mar 13 2025 - 18:45:56 EST


The following changes since commit 80e54e84911a923c40d7bee33a34c1b4be148d7a:

Linux 6.14-rc6 (2025-03-09 13:45:25 -1000)

are available in the Git repository at:

git://evilpiepirate.org/bcachefs.git tags/bcachefs-2025-03-13

for you to fetch changes up to 9c18ea7ffee090b47afaa7dc41903fb1b436d7bd:

bcachefs: bch2_get_random_u64_below() (2025-03-13 12:40:22 -0400)

----------------------------------------------------------------
bcachefs fixes for 6.14-rc7

Roxana caught an unitialized value that might explain some of the
rebalance weirdness we're still tracking down - cool.

Otherwise pretty minor.

----------------------------------------------------------------
Alan Huang (1):
bcachefs: Fix b->written overflow

Kent Overstreet (4):
bcachefs: Make sure trans is unlocked when submitting read IO
bcachefs: fix tiny leak in bch2_dev_add()
bcachefs: target_congested -> get_random_u32_below()
bcachefs: bch2_get_random_u64_below()

Roxana Nicolescu (1):
bcachefs: Initialize from_inode members for bch_io_opts

fs/bcachefs/btree_io.c | 2 +-
fs/bcachefs/extents.c | 2 +-
fs/bcachefs/inode.c | 1 +
fs/bcachefs/io_read.c | 19 ++++++++++++-------
fs/bcachefs/super.c | 11 ++++++-----
fs/bcachefs/util.c | 23 ++++++++++++++---------
fs/bcachefs/util.h | 2 +-
7 files changed, 36 insertions(+), 24 deletions(-)