Commit 2f1f7fe9 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_extent_update_i_size_sectors()



In the io path, when we do the extent update we also have to update the
inode - for i_size and i_sectors updates, as well as for bi_journal_seq
for fsync.

This factors that out into a new helper which will be used in the new
nocow mode, in the unwritten extent conversion path.

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