aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWenwei Tao <[email protected]>2016-05-06 20:03:01 +0200
committerJens Axboe <[email protected]>2016-05-06 12:51:10 -0600
commit909049a7199947abbc6a923e4cf5cff1857d4205 (patch)
tree01fc1e96698bbeb8f473a20c88f9fea0b6a8b7b7 /tools/perf/scripts/python/export-to-postgresql.py
parent66e3d07f75c6472d7198920488330634c118b255 (diff)
lightnvm: store rrpc->soffset in device sector size
Since we mainly use soffset in device sector size, we therefore store this value in rrpc->soffset, instead of the offset in 512byte sector size. This eliminates the "(ilog2(dev->sec_size) - 9)" calculation on each I/O. Signed-off-by: Wenwei Tao <[email protected]> Updated patch description. Signed-off-by: Matias Bjørling <[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