Re: [PATCH 19/19] block: switch gendisk lookup to a simple xarray

2020-09-04 Thread Hannes Reinecke
On 9/3/20 10:01 AM, Christoph Hellwig wrote: Now that bdev_map is only used for finding gendisks, we can use a simple xarray instead of the regions tracking structure for it. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman --- block/genhd.c | 208

Re: [PATCH 19/19] block: switch gendisk lookup to a simple xarray

2020-08-30 Thread Greg Kroah-Hartman
On Sun, Aug 30, 2020 at 08:24:45AM +0200, Christoph Hellwig wrote: > Now that bdev_map is only used for finding gendisks, we can use > a simple xarray instead of the regions tracking structure for it. > > Signed-off-by: Christoph Hellwig > --- > block/genhd.c | 208 --