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

From: Greg Kroah-Hartman
Date: Sun Aug 30 2020 - 03:35:09 EST


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 <hch@xxxxxx>
> ---
> block/genhd.c | 208 ++++++++----------------------------------
> include/linux/genhd.h | 7 --
> 2 files changed, 37 insertions(+), 178 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>