Re: [PATCH v2] scsi: sd_zbc: Fix sd_zbc_report_zones() buffer allocation

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

 



Damien,

> The function sd_zbc_do_report_zones() issues a REPORT ZONES command
> with a buffer size calculated based on the number of zones requested
> by the caller. This value should however not exceed the capabilities
> of the hardware maximum command size, that is, should not exceed the
> max_hw_sectors limit of the device. This problem leads to failures of
> report zones commands when re-validating disks with some SAS HBAs.

Applied to 5.0/scsi-fixes, thanks!

-- 
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