aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorRam Pai <[email protected]>2017-01-26 16:37:01 -0200
committerMartin K. Petersen <[email protected]>2017-01-31 22:36:53 -0500
commitf2e767bb5d6ee0d988cb7d4e54b0b21175802b6b (patch)
tree02856806fddc633c2ff9f24703feba2d4e402b56 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent2780f3c8f0233de90b6b47a23fc422b7780c5436 (diff)
scsi: mpt3sas: Force request partial completion alignment
The firmware or device, possibly under a heavy I/O load, can return on a partial unaligned boundary. Scsi-ml expects these requests to be completed on an alignment boundary. Scsi-ml blindly requeues the I/O without checking the alignment boundary of the I/O request for the remaining bytes. This leads to errors, since devices cannot perform non-aligned read/write operations. This patch fixes the issue in the driver. It aligns unaligned completions of FS requests, by truncating them to the nearest alignment boundary. [mkp: simplified if statement] Reported-by: Mauricio Faria De Oliveira <[email protected]> Signed-off-by: Guilherme G. Piccoli <[email protected]> Signed-off-by: Ram Pai <[email protected]> Acked-by: Sreekanth Reddy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions