]> Git Repo - linux.git/commit - block/genhd.c
block: use an xarray for disk->part_tbl
authorChristoph Hellwig <[email protected]>
Sun, 24 Jan 2021 10:02:41 +0000 (11:02 +0100)
committerJens Axboe <[email protected]>
Mon, 25 Jan 2021 01:17:20 +0000 (18:17 -0700)
commita33df75c6328bf40078b35f2040d8e54d574c357
tree626774ed34ff318daa8bc68beae36acdf28661ba
parent0470dd9d5f103e7f1d5ba8f755f687c3106c7df1
block: use an xarray for disk->part_tbl

Now that no fast path lookups in the partition table are left, there is
no point in micro-optimizing the data structure for it.  Just use a bog
standard xarray.

Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-settings.c
block/blk.h
block/genhd.c
block/partitions/core.c
include/linux/genhd.h
This page took 0.053586 seconds and 4 git commands to generate.