Skip to contentSkip to conversation

Btrfs fix for 5.13-rc7

GIT PULL Merged David Sterba 2 participants 2 messages Jun 18, 2021 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

one more fix, for a space accounting bug in zoned mode. It happens when a block group is switched back rw->ro and unusable bytes (due to zoned constraints) are subtracted twice.

It has user visible effects so I consider it important enough for late -rc inclusion and backport to stable.

Please pull, thanks.

----------------------------------------------------------------
The following changes since commit aefd7f7065567a4666f42c0fc8cdb379d2e036bf:

btrfs: promote debugging asserts to full-fledged checks in validate_super (2021-06-04 13:12:06 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.13-rc6-tag

for you to fetch changes up to f9f28e5bd0baee9708c9011897196f06ae3a2733:

btrfs: zoned: fix negative space_info->bytes_readonly (2021-06-17 11:12:14 +0200)

----------------------------------------------------------------
Naohiro Aota (1):

      btrfs: zoned: fix negative space_info->bytes_readonly
 fs/btrfs/block-group.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)