Re: [PATCH v5] sd: Check for unaligned partial completion

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

 



On 02/16/2017 04:20 PM, Damien Le Moal wrote:
> Move the partial completion alignement check of mpt3sas to a generic
> implementation in sd_done so that the check ignores REQ_TYPE_FS
> requests with special payload size handling (REQ_OP_DISCARD,
> REQ_OP_WRITE_SAME, REQ_OP_ZONE_REPORT and REQ_OP_ZONE_RESET).

Hello Damien,

Since the resid adjustment code is skipped for REQ_OP_DISCARD and
REQ_OP_WRITE_SAME: does the mpt3sas firmware ensure that 'resid' is
properly aligned for these request types? Did I perhaps miss something?

Thanks,

Bart.






[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