commit | c6b2826cd14c5421bc50a768e923d078a71139c1 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@gmail.com> | Sat Dec 11 17:13:09 2021 -0500 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Oct 22 17:09:29 2023 -0400 |
tree | 7a914ef8a811c4330a42ee397c852ff1c7d6a04d | |
parent | 3d48a7f85f83a51a0eb0d0a6537be26a20691260 [diff] |
bcachefs: Freespace, need_discard btrees This adds two new btrees for the upcoming allocator rewrite: an extents btree of free buckets, and a btree for buckets awaiting discards. We also add a new trigger for alloc keys to keep the new btrees up to date, and a compatibility path to initialize them on existing filesystems. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>