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 autolearn=ham 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 E9464C04FF3 for ; Mon, 24 May 2021 06:47:43 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 581056109E for ; Mon, 24 May 2021 06:47:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 581056109E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=dm-devel-bounces@redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-453-gKrmrkU2NDGCrDeu2GBeuw-1; Mon, 24 May 2021 02:47:40 -0400 X-MC-Unique: gKrmrkU2NDGCrDeu2GBeuw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A59C5501E0; Mon, 24 May 2021 06:47:35 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 871D45FC17; Mon, 24 May 2021 06:47:35 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5CF9155345; Mon, 24 May 2021 06:47:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14LHMnsA023569 for ; Fri, 21 May 2021 13:22:49 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1D3542177A02; Fri, 21 May 2021 17:22:49 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 18BAE2172F1F for ; Fri, 21 May 2021 17:22:45 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DAB9A85828E for ; Fri, 21 May 2021 17:22:45 +0000 (UTC) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-463-GcEk9cSoMtelsps4tbZpCw-1; Fri, 21 May 2021 13:22:41 -0400 X-MC-Unique: GcEk9cSoMtelsps4tbZpCw-1 Received: by mail-pf1-f169.google.com with SMTP id f22so7026434pfn.0; Fri, 21 May 2021 10:22:41 -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=DmSoVEQZV2Ti1/y3rZS0TtDN0E3YP8q/zJyZXVDRFoi6Y/f/jDZ/rZcsYi1rwzHodq hFMbXVX5mb3lh/X9Nd8FmWPHhUmSawn7m9BWN4pDUskq+Pcv51qeHvHZRo/yyMVVaqA+ Pe6U938CvVOfidLpAPTeRsrQ55ZwPPgpOOIAwhdze4mqcNW8ULJTBqywDvx2xXdRn3jb RiGzxqJgF193XCN30/s8B4GYMdWwTqNuBOksMsPCiJFQ1Me3covBYPNkroWBqpS/g4NG wuWZPeHOTN+m+ypCzNDSIEFOvHL1jrHBMd5aemszlsMiLk5DcZAGN6JTHEQ1APGwNE1i 5xAg== X-Gm-Message-State: AOAM5306xgfROVlM6jR+J8OKjNHoZFKGSHjw+aUA4w0h/fuhWDqHIfRT i/j0nbWclZR+mFdFtnZAcCc= 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 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 In-Reply-To: <20210521055116.1053587-4-hch@lst.de> X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Mon, 24 May 2021 02:47:09 -0400 Cc: nvdimm@lists.linux.dev, Ulf Hansson , Mike Snitzer , linux-m68k@vger.kernel.org, linux-nvme@lists.infradead.org, Song Liu , dm-devel@redhat.com, Joshua Morris , linux-s390@vger.kernel.org, Dave Jiang , Maxim Levitsky , Vishal Verma , Christian Borntraeger , Geert Uytterhoeven , Matias Bjorling , Nitin Gupta , Vasily Gorbik , linux-xtensa@linux-xtensa.org, Alex Dubov , Heiko Carstens , Coly Li , linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org, linux-block@vger.kernel.org, drbd-dev@tron.linbit.com, Philip Kelleher , Dan Williams , Jens Axboe , Chris Zankel , Max Filippov , linux-mmc@vger.kernel.org, Philipp Reisner , Jim Paris , Minchan Kim , Lars Ellenberg , linuxppc-dev@lists.ozlabs.org Subject: Re: [dm-devel] [PATCH 03/26] block: automatically enable GENHD_FL_EXT_DEVT X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel 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 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.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 093A4C04FF3 for ; Mon, 24 May 2021 19:47:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C1FEC60FF1 for ; Mon, 24 May 2021 19:47:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1FEC60FF1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QRrl6QO9+swvbaFgGy/Ie3JQm6XUudb2wAxlrd+doys=; b=G6gUhijbYdkprQ zd0F94ujUkFuRgz/oT+H3siusdzsO9xTOQtI3LmyXpiuT9D8A+fKPsC8C/8z0XTRGK5jHoREFuG1e RX5ZmRGc/eDJXdDmYPH8hrnWFz6us7xDjjI0yRZxB2Fo3+sSTxvjj+ulMlQRyULh/WdCXKGmdfINy cNFOTncMtgVg+W/YwFfeNzb0HOb7ZjBFjYZXlxGUnOxCq7Eb11THwCiKaFcwNFXcBnjRn6gdRrcPk An62Lw10KpFbW8/TMn5zr5DTYxztqJ+W57MJyiyrJS35Y+uIfLS1nhsGLzifW+gFrA/z9eboQ85j6 xxY23GT4jWNnzVhp6ykw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1llGXW-001jYr-5o; Mon, 24 May 2021 19:47:02 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lk8rD-000TYX-GH for linux-nvme@desiato.infradead.org; Fri, 21 May 2021 17:22:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=4xwt7H3ydSynAZjOEHISSkaEhx58URrfefqnsYajrYo=; b=vpkVnXoz73vKmMsEysOI32mybZ kRpv4JGPx9LBNNyMZGw8RlDu8tCriWRQqPDlYYtjU5zmN5/OHNbODpDDSn8OhSvFeF36lpCw6lX/a xMkKHYU/mPLjb1KEkUBBLPBSdBoEe5qZMtyh/xGcFMwKKTFfzmK6mfpdAolI++HAY1QKWcWDOe0fX GzHx1lnl1EZRRnoYJIFzEdZHAj48Critl+YVQx02/AUCbfbosI2EZB42rkBW9p9Hu1Jfc0MVqOvXl Mdgq6T4VyAQ6lo1B95d3O5d07H1NECAhpK+tRML3ImO6f/CGQ6Jp9K/MSUVkToX37oMhTOFLGgdML cIEEMKqw==; Received: from mail-pf1-f177.google.com ([209.85.210.177]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lk8rB-00HJEQ-4X for linux-nvme@lists.infradead.org; Fri, 21 May 2021 17:22:42 +0000 Received: by mail-pf1-f177.google.com with SMTP id g18so13724017pfr.2 for ; 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=eKnZv3kU5Mhp8mOhkqSyO4wZF06KCORJdpxQe8BW1WD6TC9pe1vjCp/ciDTR72lMbO 4MMZq5oGyhVvvRHZJBciVH3rDGIO0K3ynrUv7TL1zPdxgJ5BPwaM6LWtvy/X1ckJaWtK i6iEm6YfCPkeuhtk5TgnxPMz1Yd94OnLOQXL3tAyvivEJJBIu1BBWA1lnZiR2EPHuh1/ mK6RWlurSh9cwIOAsb2RnLxckUYS7GWG4zQs674/6XEUNrv6AwefrTRwOObYywOb2FO8 xR2NuPJL3XLkg3Cs7brr2FwrjmGXLFU23tcH0zaHoJI/ISVXfksugjYuYgGaBH975qw3 KqoA== X-Gm-Message-State: AOAM5312yF6xOtKvigrk4VnFHtfBEJcRxfaVYeVk7FHD5mfWXWjcJrxH b/B/0ZX6ehVqxA8AtMwg0D4= 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-Disposition: inline In-Reply-To: <20210521055116.1053587-4-hch@lst.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210521_102241_193620_9AC408C8 X-CRM114-Status: GOOD ( 12.72 ) X-Mailman-Approved-At: Mon, 24 May 2021 11:59:45 -0700 X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.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 _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme 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 48186C47076 for ; Fri, 21 May 2021 17:23:09 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AB4FF61168 for ; Fri, 21 May 2021 17:23:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB4FF61168 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FmtjR1jTlz3bxk for ; Sat, 22 May 2021 03:23:07 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.210.178; helo=mail-pf1-f178.google.com; envelope-from=mcgrof@gmail.com; receiver=) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Fmthz2j9yz300K for ; Sat, 22 May 2021 03:22:42 +1000 (AEST) Received: by mail-pf1-f178.google.com with SMTP id d16so15382691pfn.12 for ; Fri, 21 May 2021 10:22:42 -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=YCEdobRV2RNse4WPp0V0mD6cd5Y6B4uwxnVrJQXNobP2P3ao3fmQWlyZIfCOUi8Hsy 2Fal6ZjZIuFdbSCJKGXrloemauy/CBWZhFas9B+ejdAMAw3kj4y2os+HidiU7daSf5Zm h9pT5ZAeTn5KO69G2EDPOeUtNAzzPOwxsHfgpL6xNGEU3ZfCWUAsSC/HphRRd363U0ZQ xVS11fg9aJmuio56sXI9FbYr7umRREKRuQeDbj1O7mwgtcVsGEpIbZTKkzCaPHig7g82 2+um+xTrx6gF1n+kK3yGNxM7hywxOBMgv9dFso7QCK7gW4O7zrX1Og+85pj0aoj8S+27 2j0w== X-Gm-Message-State: AOAM5315N4xLE/l3evoNW2fvo9N3vfvwpC+wbil2tjnw2XxbOOQRXCkY xZ91ahDf7NWs3JtIe/uYvmo= 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 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> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nvdimm@lists.linux.dev, Ulf Hansson , Mike Snitzer , linux-m68k@vger.kernel.org, linux-nvme@lists.infradead.org, Song Liu , dm-devel@redhat.com, Joshua Morris , linux-s390@vger.kernel.org, Dave Jiang , Maxim Levitsky , Vishal Verma , Christian Borntraeger , Geert Uytterhoeven , Matias Bjorling , Nitin Gupta , Vasily Gorbik , linux-xtensa@linux-xtensa.org, Alex Dubov , Heiko Carstens , Coly Li , linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org, linux-block@vger.kernel.org, drbd-dev@tron.linbit.com, Philip Kelleher , Dan Williams , Jens Axboe , Chris Zankel , Max Filippov , linux-mmc@vger.kernel.org, Philipp Reisner , Jim Paris , Minchan Kim , Lars Ellenberg , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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