Re: [PATCH 1/1] scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices

From: Martin K. Petersen
Date: Sun Jul 23 2023 - 16:43:01 EST


On Thu, 20 Jul 2023 14:05:02 -0700, Michael Kelley wrote:

> The Hyper-V host is queried to get the max transfer size that it
> supports, and this value is used to set max_sectors for the synthetic
> SCSI controller. However, this max transfer size may be too large
> for virtual Fibre Channel devices, which are limited to 512 Kbytes.
> If a larger transfer size is used with a vFC device, Hyper-V always
> returns an error, and storvsc logs a message like this where the SRB
> status and SCSI status are both zero:
>
> [...]

Applied to 6.5/scsi-fixes, thanks!

[1/1] scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
https://git.kernel.org/mkp/scsi/c/010c1e1c5741

--
Martin K. Petersen Oracle Linux Engineering