aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRitika Srivastava <[email protected]>2020-09-01 13:17:31 -0700
committerJens Axboe <[email protected]>2020-09-01 19:38:33 -0600
commit8327cce5ff9376fac9ff713a8d5c99c16ba3fa33 (patch)
treef6c7b9cdf15953683061c61fc1e0e936aa5927a2 /tools/perf/scripts/python/export-to-postgresql.py
parent143d2600faf1563fd4125686ab84afaab5fb513b (diff)
block: better deal with the delayed not supported case in blk_cloned_rq_check_limits
If WRITE_ZERO/WRITE_SAME operation is not supported by the storage, blk_cloned_rq_check_limits() will return IO error which will cause device-mapper to fail the paths. Instead, if the queue limit is set to 0, return BLK_STS_NOTSUPP. BLK_STS_NOTSUPP will be ignored by device-mapper and will not fail the paths. Suggested-by: Martin K. Petersen <[email protected]> Signed-off-by: Ritika Srivastava <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions