Skip to content

btrfs: bug fix for read-only scrub on read-only mount

Qu Wenruo linux-btrfs stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: don't start transaction for scrub if the fs is mounted read-onlyfs/btrfs/block-group.c+13 -05 replies
2/2btrfs: output more debug message for uncommitted transactionfs/btrfs/disk-io.c+42 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs: bug fix for read-only scrub on read-only mount

There is a long existing bug that read-only scrub on read-only mounted btrfs can cause a uncommitted transaction to trigger an ASSERT() at unmount time.

The first patch is the fix while the 2nd is to make the debugging of similar bugs easier.

Qu Wenruo (2):
btrfs: don't start transaction for scrub if the fs is mounted
read-only
btrfs: output more debug message for uncommitted transaction

 fs/btrfs/block-group.c | 13 +++++++++++++
 fs/btrfs/disk-io.c     | 43 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 55 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1