Skip to content

ext4: reduce the size of inode.c

[email protected] linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ext4: split ext4_ind_truncate from ext4_truncatefs/ext4/ext4.h fs/ext4/inode.c+22 -150 replies
2/4ext4: rename ext4_indirect_* funcs to ext4_ind_*fs/ext4/inode.c+4 -60 replies
3/4ext4: clone indirect.c file from inode.cfs/ext4/indirect.c+92 -05 replies
4/4ext4: move ext4_ind_* functions from inode.c to indirect.cfs/ext4/Makefile fs/ext4/ext4.h fs/ext4/indirect.c +1 more+1496 -14870 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] ext4: reduce the size of inode.c

inode.c has grown to almost 6000 lines and contains code for a wide variety of functionalities.

This patch series reduces the file's size to under 4500 lines, by moving all indirect inode specific implementations to a new file called indirect.c. This convention is aligned with extent inode code being mostly in extents.c.

My own ulterior motive is that the snapshot patches were about to add another ~500 lines to inode.c, so now most of those lines will be added to indirect.c.

[PATCH 1/4] ext4: split ext4_ind_truncate from ext4_truncate [PATCH 2/4] ext4: rename ext4_indirect_* funcs to ext4_ind_* [PATCH 3/4] ext4: clone indirect.c file from inode.c
[PATCH 4/4] ext4: move ext4_ind_* functions from inode.c to indirect.c