commit | 6adaac0b95dd39da290f6006822fbf7560d2d1b5 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@gmail.com> | Tue Apr 20 20:21:12 2021 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Oct 22 17:09:01 2023 -0400 |
tree | d9b4b67f8b317bca5e15ade9b9074c006d8e9789 | |
parent | 7b7278bbaf2a5d2e6955d763a8a30a3ba190dc10 [diff] |
bcachefs: Update bch2_btree_verify() bch2_btree_verify() verifies that the btree node on disk matches what we have in memory. This patch changes it to verify every replica, and also fixes it for interior btree nodes - there's a mem_ptr field which is used as a scratch space and needs to be zeroed out for comparing with what's on disk. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>