diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-01-23 02:01:07 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:52 +0300 |
commit | 7f4e1d5d0faff0d72e9f6708bf98488d76533846 (patch) | |
tree | 3361e403e15ee6f22f9934fef824ccef08a1a991 /fs/bcachefs/super.c | |
parent | 26452d1dcd4b134ecc7aeaae74f78de1c525caf3 (diff) | |
download | linux-7f4e1d5d0faff0d72e9f6708bf98488d76533846.tar.xz |
bcachefs: KEY_TYPE_alloc_v2
This introduces a new version of KEY_TYPE_alloc, which uses the new
varint encoding introduced for inodes. This means we'll eventually be
able to support much larger bucket sizes (for SMR devices), and the
read/write time fields are expanded to 64 bits - which will be used in
the next patch to get rid of the periodic rescaling of those fields.
Also, for buckets that are members of erasure coded stripes, this adds
persistent fields for the index of the stripe they're members of and the
stripe redundancy. This is part of work to get rid of having to scan and
read into memory the alloc and stripes btrees at mount time.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
0 files changed, 0 insertions, 0 deletions