Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp995200pxa; Fri, 28 Aug 2020 00:10:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGwueO47uHDzHPB8AbgcdKu5vNVlcgo55hIpVB/0Hjupqrd7iXBAYfYVfLQnCIrVrTnMt6 X-Received: by 2002:aa7:d8cc:: with SMTP id k12mr446140eds.195.1598598616288; Fri, 28 Aug 2020 00:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598598616; cv=none; d=google.com; s=arc-20160816; b=GfsHT61Rld5bLQA+cICjuscadJ3Q6ducUu+V6I6AtWBjYVdLJJDtsE2bbhBuqf/nQ4 95FHNC/ZbQbWwipSxNqftzx5YMtZi9YSHUa6Vzah2BwjX3tzi6s1swHoZ1/LnJeGQbFf dfix+RYJTi+1C/x3nXRENwfTi1QWjk0O0TXT/GZrdWPMaj/BTJfv5tOHVFjTchT2hTzK PhqsutC4iFVjP5PJfiBEOf1eAyEM5ANXWIzOeg0/5EsSLZ20vH6jb69JD33xmMl0PROj o2HxHZYpvJb0cBiX+9a2DGxsTlU9i9SjM9BJdam9OSEn0AKGUlIz7aZVIYRUDCpdidAZ IRbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZvYOOOLLhxM1hflSpZB75b7Lg8qtxAvJHgbIokXn4jw=; b=Bn9+tBSQDx0PmG2e+kDwnGcl3fZqURGecZFXAHWvOe4ne8FPMTP7jzOKI9PNWZtZQw x5YwmbOUVKwU2P1hYripVOqc9HD8v6YLnnKcu3nnlGx6G3vBcY/PyV37rFK2odelJCaV rxoejV+6kRZsGxSc8ejw3luZn/fKXx8utaQsCY7rbimACvssjYV6lh42I6jMgHqghTpm 1r8YQgV7oFzUMQcCuBGA9FbqBI0VN1ktybftdmxKB5866mfbCGnULF0trhtgSF56JdtH lAEQCuLfdLV4Sq1TLbY+gZ0dBqiK+2KdJMTJOPfXJeebCiVlu8DnjfOdjwxCqEhyBrCB BCvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MrpZP9sP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y21si83360ejf.554.2020.08.28.00.09.52; Fri, 28 Aug 2020 00:10:16 -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; dkim=pass header.i=@kernel.org header.s=default header.b=MrpZP9sP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728394AbgH1HI2 (ORCPT + 99 others); Fri, 28 Aug 2020 03:08:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:60604 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728320AbgH1HIZ (ORCPT ); Fri, 28 Aug 2020 03:08:25 -0400 Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AF3F208C9; Fri, 28 Aug 2020 07:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598598504; bh=ZvYOOOLLhxM1hflSpZB75b7Lg8qtxAvJHgbIokXn4jw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MrpZP9sPl3pous88EkRmY3yTSpWSvUUC5YeJANAq8ckaIlm1RQmHNUpeakTgx/zAs 5bEFHU+SWHVm0l2EZ/LMKJXPnh7FTgP0Pew+/mIYlU84amOdvkW716KOLoF6zlPwr3 j4uJ6bxLirJEyq2ci3jNFFAQdZISFl3n4Tb1EYPs= Received: by mail-lj1-f172.google.com with SMTP id w14so166663ljj.4; Fri, 28 Aug 2020 00:08:24 -0700 (PDT) X-Gm-Message-State: AOAM530nlsvbbLAYKnO43fCqJxhdpxcjdxUavgzzhpca7u3dnjmeK05f uqdl6uICbFs4NQ4SrQb8DwfKYBoHNbakdyUl/O4= X-Received: by 2002:a2e:7504:: with SMTP id q4mr222246ljc.41.1598598502529; Fri, 28 Aug 2020 00:08:22 -0700 (PDT) MIME-Version: 1.0 References: <20200826062446.31860-1-hch@lst.de> <20200826062446.31860-13-hch@lst.de> In-Reply-To: <20200826062446.31860-13-hch@lst.de> From: Song Liu Date: Fri, 28 Aug 2020 00:08:11 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 12/19] md: use __register_blkdev to allocate devices on demand To: Christoph Hellwig Cc: Jens Axboe , Greg Kroah-Hartman , "Rafael J. Wysocki" , Denis Efremov , "David S. Miller" , Al Viro , linux-block@vger.kernel.org, open list , linux-ide@vger.kernel.org, linux-raid , linux-scsi@vger.kernel.org, linux-m68k@lists.linux-m68k.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 25, 2020 at 11:53 PM 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 Acked-by: Song Liu