mbox series

[0/6] improve cluster and block removal code

Message ID 20230913021148.1181646-1-enwlinux@gmail.com
Headers show
Series improve cluster and block removal code | expand

Message

Eric Whitney Sept. 13, 2023, 2:11 a.m. UTC
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(-)