Commit f3e374ef authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Log finsert/fcollapse operations



Now that we have the logged operations btree, we can make
finsert/fcollapse atomic w.r.t. unclean shutdown as well.

This adds bch_logged_op_finsert to represent the state of an finsert or
fcollapse, which is a bit more complicated than truncate since we need
to track our position in the "shift extents" operation.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b030e262
Supports Markdown
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