Skip to content
Commit d1b0f9aa authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Rework fiemap transaction restart handling



Restart handling in the previous patch was incorrect, so: move btree
operations into a separate helper, and run it with a lockrestart_do().

Additionally, clarify whether pagecache or the btree takes precedence.

Right now, the btree takes precedence: this is incorrect, but it's
needed to pass fstests. Add a giant comment explaining why.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b9b04940
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment