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

Greg Kroah-Hartman
2020-08-30T07:35:12Z

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

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>