Skip to content

MD linear/0/1/10/5 TRIM support

Shaohua Li linux-raid 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/27 patches 11 repliesIn review
  2. v2 posting 1/26 patches 15 repliesSuperseded
  3. v17 patches 25 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7block: makes bio_split support bio without datafs/bio.c+12 -100 replies
2/7md: linear supports TRIMdrivers/md/linear.c+16 -00 replies
3/7md: raid 0 supports TRIMdrivers/md/raid0.c+18 -10 replies
4/7md: raid 1 supports TRIMdrivers/md/raid1.c+18 -20 replies
5/7md: raid 10 supports TRIMdrivers/md/raid10.c+23 -40 replies
6/7MD: raid5 trim supportdrivers/md/raid5.c drivers/md/raid5.h+127 -47 replies
7/7MD: raid5 avoid unnecessary zero page for trimdrivers/md/raid5.c drivers/md/raid5.h+69 -150 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/7 v2] MD linear/0/1/10/5 TRIM support

This is the patchset to support MD discard, which I refresh against latest kernel. It's pretty straightforward for raid linear/0/1/10. The raid456 discard support is tricky, please see the log in the patches for details.

Previously when I posted the patches out, people complain SATA SSD discard request merge error. Now a patch to disable discard request merge is in Jens's tree. We don't have this issue any more.