aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2024-12-03 19:15:10 +0000
committerMichael S. Tsirkin <[email protected]>2025-02-25 12:10:46 +0000
commit3ca51662f8186b569b8fb282242c20ccbb3993c2 (patch)
tree6f94b73b9657629b2bd3a96bd8d4248a114154c7 /tools/perf/scripts/python
parentvhost-scsi: Allocate T10 PI structs only when enabled (diff)
downloadkernel-3ca51662f8186b569b8fb282242c20ccbb3993c2.tar.gz
kernel-3ca51662f8186b569b8fb282242c20ccbb3993c2.zip
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Stefan Hajnoczi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions