Shin'ichiro Kawasaki
927b6b2d69
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 <damien.lemoal@wdc.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-12-11 16:19:38 -07:00
..
2018-07-27 09:17:41 -06:00
2017-11-03 11:29:50 -07:00
2018-11-01 19:59:53 -06:00
2018-12-07 07:40:07 -07:00
2018-12-07 07:40:07 -07:00
2018-12-07 07:40:07 -07:00
2018-09-06 15:12:24 -06:00
2018-12-10 13:37:20 -07:00
2018-11-01 19:59:53 -06:00
2018-11-14 08:19:10 -07:00
2018-01-17 09:49:21 -07:00
2018-10-13 15:42:01 -06:00
2018-09-24 12:33:57 -06:00
2018-07-09 09:07:54 -06:00
2018-11-02 11:25:48 -07:00
2018-11-14 08:17:18 -07:00
2018-01-29 11:51:49 -08:00
2018-11-30 10:07:57 -07:00
2018-04-10 08:38:46 -06:00
2018-07-09 09:07:52 -06:00
2018-10-25 11:17:40 -06:00
2018-07-09 09:07:52 -06:00
2018-07-09 09:07:53 -06:00
2017-08-08 14:58:03 -04:00
2018-08-21 09:02:55 -06:00
2018-09-27 17:34:52 -06:00
2018-05-24 13:38:59 -06:00
2018-10-01 08:58:57 -06:00
2017-11-14 15:32:19 -08:00
2017-02-27 20:54:05 +02:00
2018-12-07 08:16:11 -07:00
2018-07-17 16:04:00 -06:00
2018-09-26 15:11:29 -06:00
2018-09-26 15:11:28 -06:00
2018-07-22 11:30:53 -06:00
2018-07-22 11:30:53 -06:00
2018-10-31 08:54:16 -07:00
2018-10-08 10:50:43 -06:00
2018-09-27 17:34:54 -06:00
2018-07-09 09:07:54 -06:00
2018-10-31 08:40:36 -06:00
2018-06-17 05:37:55 +09:00
2018-11-01 19:59:53 -06:00
2018-06-23 10:25:45 -06:00
2018-10-11 13:31:28 -06:00
2018-07-09 09:07:54 -06:00
2018-12-11 16:19:38 -07:00
2018-11-09 06:23:14 -07:00
2018-11-12 10:35:25 -07:00
2018-08-01 09:13:03 -06:00
2018-08-27 19:17:02 -06:00
2018-11-01 19:59:53 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-24 13:38:59 -06:00
2018-10-01 08:58:57 -06:00
2018-10-01 08:58:57 -06:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00
2018-10-10 14:11:07 -06:00
2018-10-10 14:11:07 -06:00
2018-09-28 10:49:39 -06:00
2018-09-26 15:11:28 -06:00
2018-05-24 13:38:59 -06:00
2017-01-17 10:03:33 -07:00
2017-09-11 09:45:52 -06:00
2018-09-21 20:26:59 -06:00
2018-05-14 08:55:18 -06:00
2018-06-20 12:04:06 -06:00
2018-07-30 08:27:02 -06:00