aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2013-03-27 21:28:22 -0400
committerMatthew Wilcox <[email protected]>2013-04-16 15:05:22 -0400
commit063cc6d5591ea9c0631b81ac5c7b829d99738b2f (patch)
tree5a61528a0a76394666fdc42d6b51bf576a7c1002 /tools/perf/scripts/python/Perf-Trace-Util
parentacb7aa0db09b8abd38abeb84334a8a27a52fbb1b (diff)
NVMe: Abstract out sector to block number conversion
Introduce nvme_block_nr() to help convert sectors to block numbers. This fixes an integer overflow in the SCSI conversion layer, and it's slightly less typing than opencoding it. Signed-off-by: Matthew Wilcox <[email protected]> Acked-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions