diff options
author | 2024-10-25 18:50:09 +0000 | |
---|---|---|
committer | 2024-11-06 20:45:20 -0500 | |
commit | 53b550de463529f88c78526288260d4194cf4061 (patch) | |
tree | 5b1b6a6cc87d860fdb9de9833cb1b04bff2609ef /scripts/generate_rust_analyzer.py | |
parent | scsi: pm8001: Initialize devices in pm8001_alloc_dev() (diff) | |
download | wireguard-linux-53b550de463529f88c78526288260d4194cf4061.tar.xz wireguard-linux-53b550de463529f88c78526288260d4194cf4061.zip |
scsi: pm8001: Increase request sg length to support 4MiB requests
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).
Increase the max scatter gather list length to 1024 to enable kernel to
send 4MiB (1024 * 4KiB page size) requests.
Signed-off-by: Igor Pylypiv <ipylypiv@google.com>
Link: https://lore.kernel.org/r/20241025185009.3278297-1-ipylypiv@google.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions