sata_mv: Prevent PIO commands to be defered too long if traffic in progress.
Status from this message: applied
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | sata_mv: Prevent PIO commands to be defered too long if traffic in progress.drivers/ | +27 | 4 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Grant Grundler | Mark Lord |
|---|---|---|
| 1/1 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] sata_mv: Prevent PIO commands to be defered too long if traffic in progress.
Hello,
I found a bug in the sata_mv driver, that defers PIO commands indefinitely while there is a traffic on other ports of a sata port multiplier [PMP]:
without traffic:
time smartctl --all /dev/sdc > /dev/null
real 0m0.243s
with fio running and blasting read IOs on 5 drives behind the same port multiplier for 5 minutes:
real 4m59.353s
Obviously the PIO commands are defer while traffic is in progress.
With the patch following, smart_ctl return before fio complete. It still takes 4s, time for all NCQ commands to be flushed out.
real 0m4.074s
Gwendal.