mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
70de7a47e2
commit
2f1f7fe98d
1 changed files with 60 additions and 54 deletions
114
fs/bcachefs/io.c
114
fs/bcachefs/io.c
Loading…
Add table
Add a link
Reference in a new issue