Skip to contentSkip to conversation

Btrfs fixes for 6.4-rc7

GIT PULL Merged David Sterba 2 participants 2 messages Jun 12, 2023 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

a few more fixes and regression fixes. This pull request got a bit delayed due to testing and there are at least two more fixes I'd like to get merged to 6.4-rc7, expected to be sent in time.

Please pull, thanks.

- in subpage mode, fix crash when repairing metadata at the and of a stripe

- properly enable async discard when remounting from read-only to read-write

- scrub regression fixes:
- respect read-only scrub when attempting to do a repair
- fix reporting of found errors, the stats don't get properly accounted after a stripe repair

----------------------------------------------------------------
The following changes since commit b675df0257bb717082f592626da3ddfc5bdc2b6b:

btrfs: zoned: fix dev-replace after the scrub rework (2023-06-01 15:12:02 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 79b8ee702c918f1936e17cc53e14bec388ce1045:

btrfs: scrub: also report errors hit during the initial read (2023-06-08 14:34:01 +0200)

----------------------------------------------------------------
Chris Mason (1):

      btrfs: properly enable async discard when switching from RO->RW

Qu Wenruo (3):
btrfs: subpage: fix a crash in metadata repair path
btrfs: scrub: respect the read-only flag during repair
btrfs: scrub: also report errors hit during the initial read

 fs/btrfs/disk-io.c |  9 +++++----
 fs/btrfs/scrub.c   | 26 +++++++++++++++++++-------
 fs/btrfs/super.c   |  6 ++++++
 3 files changed, 30 insertions(+), 11 deletions(-)