aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-12-03 10:39:06 +0100
committerJens Axboe <[email protected]>2019-12-03 08:51:25 -0700
commite94f5819448c5b75829662eaa9c25c17868846cf (patch)
treef09a91b456a3176daea18dcd2e598a4585f38eae /tools/perf/scripts/python/exported-sql-viewer.py
parentf216fdd77b5654f8c4f6fac6020d6aabc58878ef (diff)
block: allocate the zone bitmaps lazily
Allocate the conventional zone bitmap and the sequential zone locking bitmap only when we find a zone of the respective type. This avoids wasting memory on the conventional zone bitmap for devices that only have sequential zones, and will also prepare for other future changes. Reviewed-by: Javier González <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions