md/raid0: Fix performance regression for large sequential IO
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | md/raid0: Factor out helper for mapping and submitting a biodrivers/ | +40 | 2 replies | |
| 2/2 | md/raid0: Fix performance regression for large sequential writesdrivers/ | +1 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Yu Kuai |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] md/raid0: Fix performance regression for large sequential IO
Hello,
one of our customers reported a noticeable performance regression with his raid0 setup after updating to newer kernels. After investigation of the block traces it was obvious that raid0 code generates very suboptimal IO pattern for large requests that are not properly aligned to the raid chunk boundary (see patch 2 for detailed description). The regression has been introduced already 6 years ago by commit f00d7c85be9e ("md/raid0: fix up bio splitting.") but likely because it requires multimegabyte requests (only possible after multipage bvec work) which are not aligned to the chunk boundary (which is usually possible only if the filesystems are created with suboptimal parameters) it went unnoticed for a long time. These patches fix the regression.
Honza