Fixup and optimization for write time tree checker
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: tree-checker: Remove comprehensive root owner checkfs/ | +0 | 3 replies | |
| 2/2 | btrfs: Do mandatory tree block check before submitting biofs/ | +13 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Fixup and optimization for write time tree checker
This patchset can be fetched from github:
https://github.com/adam900710/linux/tree/tree_checker_testing
Which is based on misc-next, with the following commit as HEAD:
commit 56d46f96de92ec69963acb7b1d9aed83d2a56a7b (david/misc-next-with-write-checks, david/misc-next)
Author: Nikolay Borisov <[email protected]> Date: Wed Mar 27 14:24:18 2019 +0200
btrfs: Switch btrfs_trim_free_extents to find_first_clear_extent_bit
These two patches changes the behavior of write time tree-checker, where the initial patches didn't check the content of the leaf, leaving memory bit flipping possible to sneak in.
This patchset also introduces a new optimization, where original empty leaf owner check can be pretty expensive and cause false alerts for write time tree checker.
With this new optimization, write time tree checker can reuse the existing btrfs_check_leaf_full().
Qu Wenruo (2):
btrfs: tree-checker: Remove comprehensive root owner check
btrfs: Do mandatory tree block check before submitting bio
fs/btrfs/disk-io.c | 13 +++++++++++++ fs/btrfs/tree-checker.c | 24 ------------------------ 2 files changed, 13 insertions(+), 24 deletions(-)
Signature · 1 line
2.21.0