diff options
author | Damien Le Moal <[email protected]> | 2020-09-24 13:53:30 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-10-13 15:05:05 -0600 |
commit | d8f53b0ab0337762cc9e7b50d0c60b5bd091a0e1 (patch) | |
tree | 354b08e6451d20c85d261cf831f9f5750a2c0e5e /tools/perf/scripts/python/stackcollapse.py | |
parent | afaf5c6c81d736d7a3376801f4af396b04292191 (diff) |
scsi: handle zone resources errors
ZBC or ZAC disks that have a limit on the number of open zones may fail
a zone open command or a write to a zone that is not already implicitly
or explicitly open if the total number of open zones is already at the
maximum allowed.
For these operations, instead of returning the generic BLK_STS_IOERR,
return BLK_STS_ZONE_OPEN_RESOURCE which is returned as -ETOOMANYREFS to
the I/O issuer, allowing the device user to act appropriately on these
relatively benign zone resource errors.
Acked-by: Martin K. Petersen <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions