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

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

2020-09-03 Thread Christoph Hellwig
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 -- include/linux/genhd.h |

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 --

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

2020-08-29 Thread Christoph Hellwig
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 -- include/linux/genhd.h | 7 -- 2 files changed, 37 inser

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

2020-08-26 Thread Christoph Hellwig
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 | 210 -- include/linux/genhd.h | 7 -- 2 files changed, 38 inser