Re: [PATCH v3] mpt3sas: Force request partial completion alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Guilherme" == Guilherme G Piccoli <gpiccoli@xxxxxxxxxxxxxxxxxx> writes:

Guilherme> The firmware or device, possibly under a heavy I/O load, can
Guilherme> return on a partial unaligned boundary. Scsi-ml expects these
Guilherme> requests to be completed on an alignment boundary. Scsi-ml
Guilherme> blindly requeues the I/O without checking the alignment
Guilherme> boundary of the I/O request for the remaining bytes. This
Guilherme> leads to errors, since devices cannot perform non-aligned
Guilherme> read/write operations.

Guilherme> This patch fixes the issue in the driver. It aligns unaligned
Guilherme> completions of FS requests, by truncating them to the nearest
Guilherme> alignment boundary.

Applied to 4.10/scsi-fixes.

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux