Skip to content

improve cluster and block removal code

Eric Whitney linux-ext4 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ext4: consolidate code used to free clustersfs/ext4/extents.c+64 -820 replies
2/6ext4: rework partial cluster definition and related tracepointsfs/ext4/ext4_extents.h fs/ext4/extents.c include/trace/events/ext4.h+125 -630 replies
3/6ext4: rework partial cluster handling to use lblk more consistentlyfs/ext4/extents.c+9 -110 replies
4/6ext4: consolidate partial cluster initializationfs/ext4/extents.c+25 -450 replies
5/6ext4: simplify and improve efficiency of cluster removal codefs/ext4/extents.c+92 -610 replies
6/6ext4: remove mballoc's NOFREE flagsfs/ext4/ext4.h fs/ext4/mballoc.c include/trace/events/ext4.h+6 -270 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/6] improve cluster and block removal code

This patch series cleans up and rewrites parts of the code used to free clusters or blocks when space is removed from a file. The intent is to improve the readability, clarity, and efficiency of that code. These changes do not fix any known bugs.

Eric Whitney (6):
ext4: consolidate code used to free clusters
ext4: rework partial cluster definition and related tracepoints
ext4: rework partial cluster handling to use lblk more consistently
ext4: consolidate partial cluster initialization
ext4: simplify and improve efficiency of cluster removal code
ext4: remove mballoc's NOFREE flags

 fs/ext4/ext4.h              |   4 +-
 fs/ext4/ext4_extents.h      |  19 +-
 fs/ext4/extents.c           | 371 ++++++++++++++++++------------------
 fs/ext4/mballoc.c           |  25 +--
 include/trace/events/ext4.h | 123 ++++++++----
 5 files changed, 287 insertions(+), 255 deletions(-)
Signature · 1 line
2.30.2