Commit 4dcd1cae authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Data update support for unwritten extents



The data update path requires special support for unwritten extents - we
still need to be able to move them, but there's no need to read or write
anything.

This patch adds a new error code to tell bch2_move_extent() that we're
short circuiting the read, and adds bch2_update_unwritten_extent() to
create a reservation then call __bch2_data_update_index_update().

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