Re: [PATCH v2] scsi: pm8001: Increase request sg length to support 4MiB requests

From: Martin K. Petersen
Date: Sat Nov 02 2024 - 20:22:49 EST



Igor,

> Increasing the per-request size maximum to 4MiB (8192 sectors x 512
> bytes) runs into the per-device DMA scatter gather list limit
> (max_segments) for users of the io vector system calls (e.g. readv and
> writev).
>
> This change increases the max scatter gather list length to 1024 to
> enable kernel to send 4MiB (1024 * 4KiB page size) requests.

Applied to 6.13/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering