diff options
author | Damien Le Moal <[email protected]> | 2021-01-29 23:47:25 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-01-29 07:49:22 -0700 |
commit | cd92cdb9c8bcfc27a8f28bcbf7c414a0ea79e5ec (patch) | |
tree | 36bd10ac8a71306ee6a766b454b91c80290b44e8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e2579c76fbc5eb2b4469ad2d460dfb3cdb8f5f1f (diff) |
null_blk: cleanup zoned mode initialization
To avoid potential compilation problems, replaced the badly written
MB_TO_SECTS() macro (missing parenthesis around the argument use) with
the inline function mb_to_sects(). And while at it, simplify the
calculation of the total number of zones of the device using the
round_up() macro.
Signed-off-by: Damien Le Moal <[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