Message ID | 20201026090701.36065-1-jwi@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | scsi: docs: SG_ALL no longer opts out from chained sgl | expand |
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
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@redhat.com> Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> --- Documentation/scsi/scsi_mid_low_api.rst | 1 - 1 file changed, 1 deletion(-)