Skip to content

ext4: change unit of extent's ee_block and ee_len from block to cluster for bigalloc

Robin Dong linux-ext4 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 1 replyIn review
  2. v19 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ext4: get blocks from ext4_ext_get_actual_blocksfs/ext4/ext4.h fs/ext4/ext4_extents.h fs/ext4/extents.c+88 -560 replies
2/9ext4: change ext4_ext_map_blocks to allocate clusters instead of blocksfs/ext4/extents.c+12 -330 replies
3/9ext4: change unit of extent's ee_block to clusterfs/ext4/extents.c+174 -1120 replies
4/9ext4: remove unused functions and tagsfs/ext4/extents.c+0 -1090 replies
5/9ext4: zero out extra pages when users write one pagefs/ext4/ext4.h fs/ext4/inode.c+297 -160 replies
6/9ext4: zero out extra page when users truncate a filefs/ext4/ext4.h fs/ext4/extents.c fs/ext4/inode.c +3 more+89 -120 replies
7/9ext4: allocate a cluster for a directory when it need spacesfs/ext4/inode.c fs/ext4/namei.c+41 -140 replies
8/9ext4: align fallocate size to a whole clusterfs/ext4/extents.c+32 -20 replies
9/9ext4: make cluster works for mmapfs/ext4/inode.c+68 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/9 v2 bigalloc] ext4: change unit of extent's ee_block and ee_len from block to cluster for bigalloc

From: Robin Dong <[email protected]>

Hi,

This patch series change ee_block and ee_len (of extent) 's unit from "block" to "cluster", since it could reduce the space occupied by meta data.

This patch series should be used after Ted's bigalloc-patchs and it now can't support:
1. delay allocation
2. 1k/2k blocksize