[PATCH 37/44] block: switch partition lookup to use struct block_device

Jan Kara jack at suse.cz
Thu Nov 26 12:45:45 EST 2020


On Thu 26-11-20 14:04:15, Christoph Hellwig wrote:
> Use struct block_device to lookup partitions on a disk.  This removes
> all usage of struct hd_struct from the I/O path, and this allows removing
> the percpu refcount in struct hd_struct.

Well, you've already removed the percpu refcount...

> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Acked-by: Coly Li <colyli at suse.de>			[bcache]
> Acked-by: Chao Yu <yuchao0 at huawei.com>			[f2fs]

Other than that the patch looks good to me so feel free to add:

Reviewed-by: Jan Kara <jack at suse.cz>

								Honza

-- 
Jan Kara <jack at suse.com>
SUSE Labs, CR



More information about the linux-mtd mailing list