From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2953C47076 for ; Fri, 21 May 2021 17:22:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A0A8761176 for ; Fri, 21 May 2021 17:22:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233641AbhEURYI (ORCPT ); Fri, 21 May 2021 13:24:08 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:39729 "EHLO mail-pf1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231255AbhEURYE (ORCPT ); Fri, 21 May 2021 13:24:04 -0400 Received: by mail-pf1-f173.google.com with SMTP id c17so15397735pfn.6; Fri, 21 May 2021 10:22:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4xwt7H3ydSynAZjOEHISSkaEhx58URrfefqnsYajrYo=; b=GLbSItNw8bsVS1KhKD2Roj/ziFiCvEHDtanr9pVZde0dSLsyCffVlENoZowkka76Z3 G3gskICiCHxJzj+59se5l73KLt6poRz4sQQ970RLwqgZ9zTjTMP6QXccE5StYgARRt9c +qyOse7jPrH/4wuJmLg+37oayWFG/yP4lbbFCNUYKiVpK44FXZXMOhGovf7rTUXpnmnZ ELaHyc1XcZuJ+mxZQWwfUt+TFDqRaKNHw7NW29MXOMYTQkzq8GIGqqSpZGjyWy0vkJEz ONGV3E65KC4wqiS4T6cehkl/TrIindXoXj/RBVSlQrcBowcCr+itBTBsRmq9FkhYOUJ6 voUQ== X-Gm-Message-State: AOAM530dkU+uujnbZapr+qBVvXJlOEFU0Ur33fMUwfrMDUJOnx65fd4V hYaCykdp5mpfX9A5BtwbEiA= X-Google-Smtp-Source: ABdhPJwN/SKOVHqzTq8eMNvLlpfI5p0TUMMcGqBBBfFtPi25TxwCtdfeNJoGCkAE3FkaxK6OlRwjhQ== X-Received: by 2002:a63:bc19:: with SMTP id q25mr11009138pge.211.1621617760179; Fri, 21 May 2021 10:22:40 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id o10sm4951196pgv.28.2021.05.21.10.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 10:22:38 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id F13FE423A3; Fri, 21 May 2021 17:22:37 +0000 (UTC) Date: Fri, 21 May 2021 17:22:37 +0000 From: Luis Chamberlain To: Christoph Hellwig Cc: Jens Axboe , Geert Uytterhoeven , Chris Zankel , Max Filippov , Philipp Reisner , Lars Ellenberg , Jim Paris , Joshua Morris , Philip Kelleher , Minchan Kim , Nitin Gupta , Matias Bjorling , Coly Li , Mike Snitzer , Song Liu , Maxim Levitsky , Alex Dubov , Ulf Hansson , Dan Williams , Vishal Verma , Dave Jiang , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-xtensa@linux-xtensa.org, linux-m68k@vger.kernel.org, linux-raid@vger.kernel.org, nvdimm@lists.linux.dev, linux-s390@vger.kernel.org, linux-mmc@vger.kernel.org, linux-bcache@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, dm-devel@redhat.com, drbd-dev@tron.linbit.com, linuxppc-dev@lists.ozlabs.org Subject: Re: [dm-devel] [PATCH 03/26] block: automatically enable GENHD_FL_EXT_DEVT Message-ID: <20210521172237.GA25156@42.do-not-panic.com> References: <20210521055116.1053587-1-hch@lst.de> <20210521055116.1053587-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210521055116.1053587-4-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-bcache@vger.kernel.org On Fri, May 21, 2021 at 07:50:53AM +0200, Christoph Hellwig wrote: > Automatically set the GENHD_FL_EXT_DEVT flag for all disks allocated > without an explicit number of minors. This is what all new block > drivers should do, so make sure it is the default without boilerplate > code. > > Signed-off-by: Christoph Hellwig Reviewed-by: Luis Chamberlain Luis