]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vhost-scsi: Return queue full for page alloc failures during copy
authorMike Christie <michael.christie@oracle.com>
Tue, 3 Dec 2024 19:15:11 +0000 (13:15 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 25 Feb 2025 12:10:46 +0000 (07:10 -0500)
commit891b99eab0f89dbe08d216f4ab71acbeaf7a3102
treefa7c1f0553caa3a4ae04f771b5e9ee7629ce712c
parent3ca51662f8186b569b8fb282242c20ccbb3993c2
vhost-scsi: Return queue full for page alloc failures during copy

This has us return queue full if we can't allocate a page during the
copy operation so the initiator can retry.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Message-Id: <20241203191705.19431-5-michael.christie@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
drivers/vhost/scsi.c