Skip to content

ext4: trim bug fixes and improvements.

Tao Ma linux-ext4 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesIn review
  2. v1 posting 2/24 patches 9 repliesSuperseded
  3. v1 posting 1/24 patches 7 repliesSuperseded

Changes in v2 from the cover letter

1. integrated comments form Lukas.
2. add another trivial fix reported by Andreas.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ext4: fix trim length underflow with small trim length.fs/ext4/mballoc.c+3 -01 reply
2/5ext4: speed up group trim with the right free block count.fs/ext4/mballoc.c+3 -21 reply
3/5ext4: Add new ext4 trim tracepointsfs/ext4/mballoc.c include/trace/events/ext4.h+53 -01 reply
4/5ext4: Speed up FITRIM by recording flags in ext4_group_info.fs/ext4/ext4.h fs/ext4/mballoc.c+32 -11 reply
5/5ext4: Change the wrong param comment for ext4_trim_all_free.fs/ext4/mballoc.c+1 -11 reply

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchAndreas DilgerLukas Czerner
1/5
2/5R-b
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH 0/5 RESEND V2] ext4: trim bug fixes and improvements.

Hi Ted,

changelog from v1 to v2:
1. integrated comments form Lukas.
2. add another trivial fix reported by Andreas.

Patch 1/5 is a fix for the 'len' overflow. As we have decided that we don't adjust start to s_first_data_block, this patch is still needed. Patch 2/5 is a speedup for trim in one group.
Patch 3/5 adds trace points for the functions used in FITRIM. Patch 4/5 is a speedup for trim for the whole volume. Patch 5/5 is a trivial fix for the comment of ext4_trim_all_free.

Thanks,
Tao