Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1201119pxk; Fri, 4 Sep 2020 03:29:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCNlDbmizJ+LoVQa1+N/Hn0Y9YMX+jzmsTv2yVkeVPqz7APteLhGx+xf8300f9lp3vNMlX X-Received: by 2002:a17:906:14c9:: with SMTP id y9mr6873180ejc.523.1599215386233; Fri, 04 Sep 2020 03:29:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599215386; cv=none; d=google.com; s=arc-20160816; b=R9s4d5Dj+83t8Raxqo7jdDo5OEzGbJLLfD28GA5LRiU2uiaAlhk6Ah2tYN/vP9bRka Ue9kZ6Z6nMUROjuc7hJ/CpMI0fJDPEUtFwGqNj6vz0P98XPd0cTEFkJaM/Bnz5Qil5ej GF0Q30dMY5mleaRhIewMp8bp62YQPXY1RnsGiTI3pTqAuboX1HRrZCw7U+H8hwqOtnbB D6HPt4H7xd0RM7R4mS9AGT6SEN10fKY6HoZpv94TT6EOpoF+q7+DXQ9KErtxVyiL9voG ZhKnFgEoHkb8sl3Vy6bebwzhQXrwqToqb0+Rx8Ce/UmrjlzBcN1CwzWdBysP+ESl9Hpy TSOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=hlFYF50EltxSWz6xtKoptP0TcJTJyWOQA2/t0rjjL2k=; b=QHyMcF53RrZXJBv5SklIOVI2wOY9+KleMKMLne9BAatcIyRV3CwBcVI3cX3jg2ZqAC uw2Myw8Xd75qTi2+zYkH5UJzbpFm0Ew6Vvl3lh5mZJOdvYzyk6E1w2ncWC6DNqQa5D5F bKEEDRCqqz5cmwJ3aIndumDCe9kRiBPoEVJTZw4JExcbRF6VotBCzemar5BXGn6MDwFt Su5inue0YXb0/WItX3U/jxs7L6dIwEEONhAcmNvLXy2NpFk10TqukVLbcfdkZYwaRRW8 szl/FjcGusvxY3RlFhPUMRyLEoxlFcCGj2FRirnjpDegg/1nwmiWaenxS0tKSE4YxGKp 3McA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si3662908edv.400.2020.09.04.03.29.23; Fri, 04 Sep 2020 03:29:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730025AbgIDK0D (ORCPT + 99 others); Fri, 4 Sep 2020 06:26:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:39028 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729995AbgIDKXh (ORCPT ); Fri, 4 Sep 2020 06:23:37 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id A8544B7E3; Fri, 4 Sep 2020 10:23:36 +0000 (UTC) Subject: Re: [PATCH 10/19] brd: use __register_blkdev to allocate devices on demand To: Christoph Hellwig , Jens Axboe Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Denis Efremov , "David S. Miller" , Song Liu , Al Viro , Finn Thain , Michael Schmitz , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-m68k@lists.linux-m68k.org References: <20200903080119.441674-1-hch@lst.de> <20200903080119.441674-11-hch@lst.de> From: Hannes Reinecke Message-ID: <7a14a59e-9ff2-73e3-6fb6-b19e1d472699@suse.de> Date: Fri, 4 Sep 2020 12:23:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200903080119.441674-11-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/20 10:01 AM, Christoph Hellwig wrote: > Use the simpler mechanism attached to major_name to allocate a brd device > when a currently unregistered minor is accessed. > > Signed-off-by: Christoph Hellwig > --- > drivers/block/brd.c | 39 +++++++++++---------------------------- > 1 file changed, 11 insertions(+), 28 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer