Commit 9bcbc030 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Skip inode unpack/pack in bch2_extent_update()



This takes advantage of the new inode type to skip the expensive
pack/unpack when inode updates are required in the extent update path.
Additionally, we now skip the inode update entirely when i_sectors and
i_size aren't changing.

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