btrfs: reduce memory consumption for block groups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 9 repliesIn review
- v19 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | btrfs: use a kmem_cache for block groupsfs/ fs/ fs/ | +26 | 1 reply | |
| 2/10 | btrfs: reduce size of struct btrfs_block_groupfs/ | +16 | 6 replies | |
| 3/10 | btrfs: use a kmem_cache for free space control structuresfs/ | +13 | 0 replies | |
| 4/10 | btrfs: remove start field from struct btrfs_free_space_ctlfs/ fs/ | +4 | 0 replies | |
| 5/10 | btrfs: remove unit field from struct btrfs_free_space_ctlfs/ fs/ | +52 | 0 replies | |
| 6/10 | btrfs: reduce size of struct btrfs_free_space_ctlfs/ | +2 | 0 replies | |
| 7/10 | btrfs: remove op field from struct btrfs_free_space_ctlfs/ fs/ fs/ +2 more | +31 | 0 replies | |
| 8/10 | btrfs: remove block group argument from copy_free_space_cache()fs/ | +4 | 0 replies | |
| 9/10 | btrfs: remove unnecessary ctl argument from __btrfs_write_out_cache()fs/ | +2 | 0 replies | |
| 10/10 | btrfs: remove unnecessary ctl argument from write_cache_extent_entries()fs/ | +2 | 0 replies |
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | David Sterba |
|---|---|
| Series | R-b |
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] btrfs: reduce memory consumption for block groups
From: Filipe Manana <[email protected]>
Reduce the amount of memory used by block groups by using kmem caches and reducing structure sizes, plus a few cleanups. Details in the change logs.
V2: Add one extra patch that was missing, to further reduce the size
of struct btrfs_free_space_ctl (patch 7/10).
Filipe Manana (10):
btrfs: use a kmem_cache for block groups
btrfs: reduce size of struct btrfs_block_group
btrfs: use a kmem_cache for free space control structures
btrfs: remove start field from struct btrfs_free_space_ctl
btrfs: remove unit field from struct btrfs_free_space_ctl
btrfs: reduce size of struct btrfs_free_space_ctl
btrfs: remove op field from struct btrfs_free_space_ctl
btrfs: remove block group argument from copy_free_space_cache()
btrfs: remove unnecessary ctl argument from __btrfs_write_out_cache()
btrfs: remove unnecessary ctl argument from write_cache_extent_entries()
fs/btrfs/block-group.c | 38 +++++++- fs/btrfs/block-group.h | 36 ++++---- fs/btrfs/free-space-cache.c | 147 +++++++++++++++--------------- fs/btrfs/free-space-cache.h | 14 +-- fs/btrfs/fs.h | 7 ++ fs/btrfs/super.c | 3 + fs/btrfs/tests/btrfs-tests.c | 1 + fs/btrfs/tests/free-space-tests.c | 24 ++--- 8 files changed, 152 insertions(+), 118 deletions(-)
Signature · 1 line
2.47.2