[GIT PULL] bcachefs fixes for 6.12-rc5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 5e3b72324d32629fa013f86657308f3dbc1115e1:

  bcachefs: Fix sysfs warning in fstests generic/730,731 (2024-10-14 05:43:01 -0400)

are available in the Git repository at:

  https://github.com/koverstreet/bcachefs tags/bcachefs-2024-10-22

for you to fetch changes up to a069f014797fdef8757f3adebc1c16416271a599:

  bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path (2024-10-20 18:09:09 -0400)

----------------------------------------------------------------
bcachefs fixes for 6.12-rc5

Lots of hotfixes:
- transaction restart injection has been shaking out a few things

- fix a data corruption in the buffered write path on -ENOSPC, found by
  xfstests generic/299

- Some small show_options fixes

- Repair mismatches in inode hash type, seed: different snapshot
  versions of an inode must have the same hash/type seed, used for
  directory entries and xattrs. We were checking the hash seed, but not
  the type, and a user contributed a filesystem where the hash type on
  one inode had somehow been flipped; these fixes allow his filesystem
  to repair.

  Additionally, the hash type flip made some directory entries
  invisible, which were then recreated by userspace; so the hash check
  code now checks for duplicate non dangling dirents, and renames one of
  them if necessary.

- Don't use wait_event_interruptible() in recovery: this fixes some
  filesystems failing to mount with -ERESTARTSYS

- Workaround for kvmalloc not supporting > INT_MAX allocations, causing
  an -ENOMEM when allocating the sorted array of journal keys: this
  allows a 75 TB filesystem to mount

- Make sure bch_inode_unpacked.bi_snapshot is set in the old inode
  compat path: this alllows Marcin's filesystem (in use since before
  6.7) to repair and mount.

----------------------------------------------------------------
Hongbo Li (2):
      bcachefs: fix incorrect show_options results
      bcachefs: skip mount option handle for empty string.

Kent Overstreet (24):
      bcachefs: fix restart handling in bch2_rename2()
      bcachefs: fix bch2_hash_delete() error path
      bcachefs: fix restart handling in bch2_fiemap()
      bcachefs: fix missing restart handling in bch2_read_retry_nodecode()
      bcachefs: fix restart handling in bch2_do_invalidates_work()
      bcachefs: fix restart handling in bch2_alloc_write_key()
      bcachefs: fix restart handling in __bch2_resume_logged_op_finsert()
      bcachefs: handle restarts in bch2_bucket_io_time_reset()
      bcachefs: Don't use commit_do() unnecessarily
      bcachefS: ec: fix data type on stripe deletion
      bcachefs: fix disk reservation accounting in bch2_folio_reservation_get()
      bcachefs: bch2_folio_reservation_get_partial() is now better behaved
      bcachefs: Fix data corruption on -ENOSPC in buffered write path
      bcachefs: Run in-kernel offline fsck without ratelimit errors
      bcachefs: INODE_STR_HASH() for bch_inode_unpacked
      bcachefs: Add hash seed, type to inode_to_text()
      bcachefs: Repair mismatches in inode hash seed, type
      bcachefs: bch2_hash_set_or_get_in_snapshot()
      bcachefs: fsck: Improve hash_check_key()
      bcachefs: Fix __bch2_fsck_err() warning
      bcachefs: Don't use wait_event_interruptible() in recovery
      bcachefs: Workaround for kvmalloc() not supporting > INT_MAX allocations
      bcachefs: Mark more errors as AUTOFIX
      bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path

 fs/bcachefs/alloc_background.c      |  37 +++--
 fs/bcachefs/alloc_foreground.c      |   2 +-
 fs/bcachefs/btree_gc.c              |  12 +-
 fs/bcachefs/btree_io.c              |   2 +-
 fs/bcachefs/btree_iter.h            |   2 +
 fs/bcachefs/btree_update.c          |   4 +-
 fs/bcachefs/btree_update.h          |   2 +-
 fs/bcachefs/btree_update_interior.c |   4 +-
 fs/bcachefs/buckets.c               |   7 +-
 fs/bcachefs/buckets.h               |  12 +-
 fs/bcachefs/chardev.c               |   1 +
 fs/bcachefs/darray.c                |  15 +-
 fs/bcachefs/dirent.c                |   7 -
 fs/bcachefs/dirent.h                |   7 +
 fs/bcachefs/disk_accounting.c       |   6 +-
 fs/bcachefs/ec.c                    |  22 +--
 fs/bcachefs/error.c                 |   5 +-
 fs/bcachefs/fs-io-buffered.c        |   6 +
 fs/bcachefs/fs-io-pagecache.c       |  70 +++++----
 fs/bcachefs/fs-io.c                 |   2 +-
 fs/bcachefs/fs.c                    |  18 +--
 fs/bcachefs/fsck.c                  | 281 +++++++++++++++++++++++++++++-------
 fs/bcachefs/inode.c                 |  27 ++--
 fs/bcachefs/inode.h                 |   1 +
 fs/bcachefs/inode_format.h          |   6 +-
 fs/bcachefs/io_misc.c               |   2 +-
 fs/bcachefs/io_read.c               |   8 +-
 fs/bcachefs/io_write.c              |   4 +-
 fs/bcachefs/journal.c               |  10 +-
 fs/bcachefs/journal.h               |   2 +-
 fs/bcachefs/opts.c                  |   6 +-
 fs/bcachefs/opts.h                  |   3 +-
 fs/bcachefs/quota.c                 |   2 +-
 fs/bcachefs/rebalance.c             |   4 +-
 fs/bcachefs/recovery.c              |   2 +-
 fs/bcachefs/sb-errors_format.h      |   4 +-
 fs/bcachefs/str_hash.h              |  60 +++++---
 fs/bcachefs/subvolume.c             |   7 +-
 fs/bcachefs/super.c                 |   2 +-
 fs/bcachefs/tests.c                 |   4 +-
 fs/bcachefs/xattr.c                 |   2 +-
 41 files changed, 475 insertions(+), 205 deletions(-)




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux