Re: [PATCH 12/19] md: use __register_blkdev to allocate devices on demand

From: Hannes Reinecke
Date: Fri Sep 04 2020 - 06:25:51 EST


On 9/3/20 10:01 AM, Christoph Hellwig wrote:
Use the simpler mechanism attached to major_name to allocate a brd device

md device? Maybe?

when a currently unregistered minor is accessed.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Acked-by: Song Liu <song@xxxxxxxxxx>
---
drivers/md/md.c | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer