On 06/11/2016 04:22 AM, Martin K. Petersen wrote:
"Mike" == Mike Snitzer <snit...@redhat.com> writes:

When checking a cloned request there is no need to check the overall
request size; this won't have changed even when resubmitting to
another queue.  Without this patch ppc64le on ibmvfc fails to boot.

Why is the number of sectors in the request bigger than the queue limit?

Because we're checking the wrong limit.
blk_queue_get_max_sectors() is checking limits.max_sectors(), but the requests are already fully formed and can extend up to limits.max_hw_sectors().

Cheers,

Hannes
--
Dr. Hannes Reinecke                   zSeries & Storage
h...@suse.de                          +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to