Skip to content

btrfs: btrfs_super_block::log_root_transid related enhancement

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: Populate btrfs_super_block::log_root_transidfs/btrfs/transaction.c fs/btrfs/tree-log.c+3 -06 replies
2/2btrfs: Validate btrfs_super_block::log_root_transidfs/btrfs/disk-io.c+22 -63 replies

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: btrfs_super_block::log_root_transid related enhancement

Even we have btrfs_super_block::log_root_transid, it's never really populated.

This patchset will populate that member and use it to detect corrupted log tree early.

Qu Wenruo (2):
btrfs: Populate btrfs_super_block::log_root_transid
btrfs: Validate btrfs_super_block::log_root_transid

 fs/btrfs/disk-io.c     | 28 ++++++++++++++++++++++------
 fs/btrfs/transaction.c |  1 +
 fs/btrfs/tree-log.c    |  2 ++
 3 files changed, 25 insertions(+), 6 deletions(-)
Signature · 1 line
2.19.0