]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
block: look up holders by bdev
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Aug 2021 09:41:42 +0000 (11:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Aug 2021 17:50:42 +0000 (11:50 -0600)
commit0dbcfe247f22a6d73302dfa691c48b3c14d31c4c
treee0954dc2fc3a87f67214da4908f1384ab56a6e86
parentfbd9a39542ecdd2ade55869c13856b2590db3df8
block: look up holders by bdev

Invert they way the holder relations are tracked.  This very
slightly reduces the memory overhead for partitioned devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210804094147.459763-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
block/holder.c
fs/block_dev.c
include/linux/blk_types.h
include/linux/genhd.h