diff options
author | 2018-08-08 13:29:55 -0600 | |
---|---|---|
committer | 2018-08-22 01:01:47 +0300 | |
commit | 864d39df09b43f9d09d80bc29d8e8888294b3c4b (patch) | |
tree | e7f626151455b71fcbfe57be20a9f3de50fcf65d /kernel/sys.c | |
parent | vhost: allow vhost-scsi driver to be built-in (diff) | |
download | linux-rng-864d39df09b43f9d09d80bc29d8e8888294b3c4b.tar.xz linux-rng-864d39df09b43f9d09d80bc29d8e8888294b3c4b.zip |
vhost/scsi: increase VHOST_SCSI_PREALLOC_PROT_SGLS to 2048
The current value of VHOST_SCSI_PREALLOC_PROT_SGLS is too small to
accommodate larger I/Os, e.g. 16-32 MiB, when the VIRTIO_SCSI_F_T10_PI
feature bit is negotiated and the backing store supports T10 PI.
vhost-scsi rejects the command with errors like:
[ 59.581317] vhost_scsi_calc_sgls: requested sgl_count: 1820 exceeds pre-allocated max_sgls: 512
Signed-off-by: Greg Edwards <gedwards@ddn.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions