summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2024-12-03 13:15:10 -0600
committerMichael S. Tsirkin <mst@redhat.com>2025-02-25 07:10:46 -0500
commit3ca51662f8186b569b8fb282242c20ccbb3993c2 (patch)
tree6f94b73b9657629b2bd3a96bd8d4248a114154c7 /tools/perf/scripts/python
parentbf2d650391be508dd8b5e188b65ed32300cf3489 (diff)
vhost-scsi: Add better resource allocation failure handling
If we can't allocate mem to map in data for a request or can't find a tag for a command, we currently drop the command. This leads to the error handler running to clean it up. Instead of dropping the command this has us return an error telling the initiator that it queued more commands than we can handle. The initiator will then reduce how many commands it will send us and retry later. Signed-off-by: Mike Christie <michael.christie@oracle.com> Message-Id: <20241203191705.19431-4-michael.christie@oracle.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions