Skip to content
Commit 95a06077 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

Btrfs: use delayed ref sequence numbers for all fs-tree updates



The sequence number for delayed refs is needed to postpone certain delayed
refs for a very short period while walking backrefs. Before the tree
modification log, we thought we'd only have to hold back those references
that don't have a counter operation.

While now we've the tree mod log, we're rewinding fs tree blocks to a
defined consistent state. We cannot know in advance for which tree block
we'll be doing rewind operations later. Therefore, we must postpone all the
delayed refs for fs-tree blocks, even those having a counter operation.

Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent 20b297d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment