commit 3dccdf53c2f3 ("scsi: core: avoid preallocating big SGL for data") has changed the sgl allocation logic. A scsi_cmnd may now contain chained SG lists, even when sg_tablesize is set to <= SG_ALL by the LLD. Cc: Ming Lei <ming.lei@xxxxxxxxxx> Signed-off-by: Julian Wiedmann <jwi@xxxxxxxxxxxxx> --- Documentation/scsi/scsi_mid_low_api.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/scsi/scsi_mid_low_api.rst b/Documentation/scsi/scsi_mid_low_api.rst index 5bc17d012b25..6b2bad6dc899 100644 --- a/Documentation/scsi/scsi_mid_low_api.rst +++ b/Documentation/scsi/scsi_mid_low_api.rst @@ -1081,7 +1081,6 @@ of interest: - scsi id of host (scsi initiator) or -1 if not known sg_tablesize - maximum scatter gather elements allowed by host. - Set this to SG_ALL or less to avoid chained SG lists. Must be at least 1. max_sectors - maximum number of sectors (usually 512 bytes) allowed -- 2.17.1