linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: btrfs_super_block::log_root_transid related enhancement
@ 2018-10-04  5:49 Qu Wenruo
  2018-10-04  5:49 ` [PATCH 1/2] btrfs: Populate btrfs_super_block::log_root_transid Qu Wenruo
  2018-10-04  5:49 ` [PATCH 2/2] btrfs: Validate btrfs_super_block::log_root_transid Qu Wenruo
  0 siblings, 2 replies; 12+ messages in thread
From: Qu Wenruo @ 2018-10-04  5:49 UTC (permalink / raw)
  To: linux-btrfs

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(-)

-- 
2.19.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-10-11 13:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-04  5:49 [PATCH 0/2] btrfs: btrfs_super_block::log_root_transid related enhancement Qu Wenruo
2018-10-04  5:49 ` [PATCH 1/2] btrfs: Populate btrfs_super_block::log_root_transid Qu Wenruo
2018-10-04  8:07   ` Anand Jain
2018-10-04  8:28     ` Qu Wenruo
2018-10-11 12:31   ` David Sterba
2018-10-11 12:45     ` Qu Wenruo
2018-10-11 13:11       ` Nikolay Borisov
2018-10-11 13:13         ` Qu Wenruo
2018-10-04  5:49 ` [PATCH 2/2] btrfs: Validate btrfs_super_block::log_root_transid Qu Wenruo
2018-10-04  6:57   ` Nikolay Borisov
2018-10-04  7:30     ` Qu Wenruo
2018-10-11 12:19     ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).