[GIT PULL] bcachefs stable updates for v6.7

From: Kent Overstreet
Date: Thu Feb 08 2024 - 20:15:08 EST


Hi Greg, few stable updates for you -

Cheers,
Kent

The following changes since commit 0dd3ee31125508cd67f7e7172247f05b7fd1753a:

Linux 6.7 (2024-01-07 12:18:38 -0800)

are available in the Git repository at:

https://evilpiepirate.org/git/bcachefs.git tags/bcachefs-for-v6.7-stable-20240208

for you to fetch changes up to f1582f4774ac7c30c5460a8c7a6e5a82b9ce5a6a:

bcachefs: time_stats: Check for last_event == 0 when updating freq stats (2024-02-08 15:33:11 -0500)

----------------------------------------------------------------
bcachefs updates for v6.7 stable:

locking fixes in subvolume create, destroy paths - Al, Su Yue, Guoyu Ou
fix race in thread_with_file - Mathias Krause
small rebalance fixes - Daniel, myself
workaround for building with old clang (can't take a pointer to memcmp)
build fix on parisc
minor time_stats fix

----------------------------------------------------------------
Al Viro (2):
new helper: user_path_locked_at()
bch2_ioctl_subvolume_destroy(): fix locking

Christoph Hellwig (1):
bcachefs: fix incorrect usage of REQ_OP_FLUSH

Daniel Hill (1):
bcachefs: rebalance should wakeup on shutdown if disabled

Guoyu Ou (1):
bcachefs: unlock parent dir if entry is not found in subvolume deletion

Helge Deller (1):
bcachefs: Fix build on parisc by avoiding __multi3()

Kent Overstreet (4):
bcachefs: Don't pass memcmp() as a pointer
bcachefs: Add missing bch2_moving_ctxt_flush_all()
bcachefs: bch2_kthread_io_clock_wait() no longer sleeps until full amount
bcachefs: time_stats: Check for last_event == 0 when updating freq stats

Mathias Krause (1):
bcachefs: install fd later to avoid race with close

Su Yue (2):
bcachefs: kvfree bch_fs::snapshots in bch2_fs_snapshots_exit
bcachefs: grab s_umount only if snapshotting

fs/bcachefs/chardev.c | 3 +--
fs/bcachefs/clock.c | 4 ++--
fs/bcachefs/fs-io.c | 2 +-
fs/bcachefs/fs-ioctl.c | 42 +++++++++++++++++++++--------------------
fs/bcachefs/journal_io.c | 3 ++-
fs/bcachefs/mean_and_variance.h | 2 +-
fs/bcachefs/move.c | 2 +-
fs/bcachefs/move.h | 1 +
fs/bcachefs/rebalance.c | 13 +++++++++++--
fs/bcachefs/replicas.c | 10 ++++++++--
fs/bcachefs/snapshot.c | 2 +-
fs/bcachefs/util.c | 5 +++--
fs/namei.c | 16 +++++++++++++---
include/linux/namei.h | 1 +
14 files changed, 68 insertions(+), 38 deletions(-)