Skip to contentSkip to conversation

Btrfs fixes for 6.3-rc2

GIT PULL Merged David Sterba 2 participants 2 messages Mar 9, 2023 – Mar 10, 2023 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

first batch of fixes. Among them there are two updates to sysfs and ioctl which are not strictly fixes but are used for testing so there's no reason to delay them.

Please pull, thanks.

* fix block group item corruption after inserting new block group

* fix extent map logging bit not cleared for split maps after dropping range

* fix calculation of unusable block group space reporting bogus values due to 32/64b division

* fix unnecessary increment of read error stat on write error

* improve error handling in inode update

* export per-device fsid in DEV_INFO ioctl to distinguish seeding devices, needed for testing

* allocator size classes
* fix potential dead lock in size class loading logic
* print sysfs stats for the allocation classes

----------------------------------------------------------------
The following changes since commit 964a54e5e1a0d70cd80bd5a0885a1938463625b1:

btrfs: make kobj_type structures constant (2023-02-15 19:38:55 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-6.3-rc1-tag

for you to fetch changes up to 675dfe1223a69e270b3d52cb0211c8a501455cec:

btrfs: fix block group item corruption after inserting new block group (2023-03-08 01:14:01 +0100)

----------------------------------------------------------------
Boris Burkov (2):
btrfs: sysfs: add size class stats
btrfs: fix potential dead lock in size class loading logic

Filipe Manana (2):
btrfs: fix extent map logging bit not cleared for split maps after dropping range
btrfs: fix block group item corruption after inserting new block group

Johannes Thumshirn (1):
btrfs: fix percent calculation for bg reclaim message

Naohiro Aota (1):
btrfs: fix unnecessary increment of read error stat on write error

Qu Wenruo (1):
btrfs: ioctl: return device fsid from DEV_INFO ioctl

void0red (1):
btrfs: handle btrfs_del_item errors in __btrfs_update_delayed_inode

 fs/btrfs/bio.c             |  2 +-
 fs/btrfs/block-group.c     | 58 ++++++++++++++++++++++++----------------------
 fs/btrfs/delayed-inode.c   |  2 +-
 fs/btrfs/extent_map.c      |  7 +++++-
 fs/btrfs/ioctl.c           |  1 +
 fs/btrfs/sysfs.c           | 42 +++++++++++++++++++++++++++++++++
 include/uapi/linux/btrfs.h | 12 +++++++++-
 7 files changed, 92 insertions(+), 32 deletions(-)