diff options
author | Shin'ichiro Kawasaki <[email protected]> | 2018-12-11 21:08:26 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-12-11 16:19:38 -0700 |
commit | 927b6b2d69b4cc900fa50d7e46d8f1fa91c91b3a (patch) | |
tree | e1f46fa013f3a75142525c4a5a4c60b5f14d438c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a538e3ff9dabcdf6c3f477a373c629213d1c3066 (diff) |
block: Fix null_blk_zoned creation failure with small number of zones
null_blk_zoned creation fails if the number of zones specified is equal to or is
smaller than 64 due to a memory allocation failure in blk_alloc_zones(). With
such a small number of zones, the required memory size for all zones descriptors
fits in a single page, and the page order for alloc_pages_node() is zero. Allow
this value in blk_alloc_zones() for the allocation to succeed.
Fixes: bf5054569653 "block: Introduce blk_revalidate_disk_zones()"
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[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