Fix fallout from changes to FUA and PREFLUSH definitions
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v11 patch 2 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dm: Make flush bios explicitely syncdrivers/ drivers/ drivers/ +2 more | +7 | 1 reply | |
| 2/2 | md: Make flush bios explicitely syncdrivers/ drivers/ drivers/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/2 v2] Fix fallout from changes to FUA and PREFLUSH definitions
Hello,
here are patches for DM/MD that address a possible performance issue caused by commit b685d3d65ac7 "block: treat REQ_FUA and REQ_PREFLUSH as synchronous".
The core of the problem is that above mentioned commit removed REQ_SYNC flag from WRITE_{FUA|PREFLUSH|...} definitions. generic_make_request_checks() however strips REQ_FUA and REQ_PREFLUSH flags from a bio when the storage doesn't report volatile write cache and thus write effectively becomes asynchronous which can lead to performance regressions.
DM/MD guys, can you please have a look at patches and take them through your trees? Thanks!
Honza