aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJon Derrick <[email protected]>2017-04-24 18:02:43 -0600
committerChristoph Hellwig <[email protected]>2017-04-25 20:01:00 +0200
commit7fad1fd46ccf3ee283052e948cf91edd0cd9b1c7 (patch)
tree50c5ecde574c0103042b1fb26297b7e667d82a67 /tools/perf/scripts/python/export-to-postgresql.py
parentde41447aac034c4acc8d9d1ddbdcb7ce4e8a3f6f (diff)
nvme-scsi: Consider LBA format in IO splitting calculation
The current command submission code uses a sector-based value when considering the maximum number of blocks per command. With a 4k-formatted namespace and a command exceeding max hardware limits, this calculation doesn't split IOs which should be split and fails in the nvme layer. This patch fixes that calculation and enables IO splitting in these circumstances. Signed-off-by: Jon Derrick <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions