Commit 8dd69d9f authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: KEY_TYPE_inode_v3, metadata_version_inode_v3



Move bi_size and bi_sectors into the non-varint portion of the inode, so
that the write path can update them without going through the relatively
expensive unpack/pack operations.

Other changes:
 - Add a field for the offset of the varint section, so we can add new
   non-varint fields without needing a new inode type, like alloc_v3
 - Move bi_mode into the flags field, so that the varint section can be
   u64 aligned

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