mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
Update bcachefs sources to 58b77cfec6 bcachefs: improve btree_ptr_debugcheck()
This commit is contained in:
parent
6d09cd7766
commit
ea57dd8d48
@ -1 +1 @@
|
||||
2679158d6e268d1bbcebda4f2000a24683ae06e0
|
||||
58b77cfec62e8cdf6c1f7863a5066356ab77e7ad
|
||||
|
@ -620,7 +620,8 @@ static void btree_ptr_debugcheck(struct bch_fs *c, struct btree *b,
|
||||
do {
|
||||
seq = read_seqcount_begin(&c->gc_pos_lock);
|
||||
bad = gc_pos_cmp(c->gc_pos, gc_pos_btree_node(b)) > 0 &&
|
||||
g->mark.data_type != BUCKET_BTREE;
|
||||
(g->mark.data_type != BUCKET_BTREE ||
|
||||
g->mark.dirty_sectors < c->opts.btree_node_size);
|
||||
} while (read_seqcount_retry(&c->gc_pos_lock, seq));
|
||||
|
||||
err = "inconsistent";
|
||||
|
Loading…
Reference in New Issue
Block a user