From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E054B70 for ; Fri, 21 May 2021 17:18:09 +0000 (UTC) Received: by mail-pj1-f50.google.com with SMTP id g24so11293287pji.4 for ; Fri, 21 May 2021 10:18:09 -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=PKUzbY5iIGLiRwydllRSQJCscB+6IrSLbJrzulbqCPE=; b=AXwML37JZffV002kpyYotuWlkznrZ0cviUiiVdIktr0yQwKR/r3o4lp2yKKrqcrUZy B+8eIdNpG9/9mEBtkB+AFvE7BrR+iDd5ZUhepcYVDnJaVscmnYa1T9fzSmFoQ4u8cFeD mDEqekjIzI1QXzSRWLOfSrRsa3drqUQh4j2b3LYQ+9W856re9ekMlhqAYxrgF9MVf7AS S+Q7F4UU4BQcYnaugduRH8oyvQMP4Kevmy3r8wc4IZBPGR4SCrqLlRKPkNNDPXH40joZ 1Hl0LuXLPcN4IwFjkqAsIosJyJx7mXaqgTHt0lBrp5T4fCbb9D4Ncjje82phklWHCvzO pzbA== X-Gm-Message-State: AOAM531hYG8rMXv2/R2e+wkXmbCTGs1YVbmXaBpuC8nDktfXNM04xR/y 1oCpSQybF345Bme5idS5S3Q= X-Google-Smtp-Source: ABdhPJwK8NtIAa5B5/oxZS0IR7nB67qYtN97nOKjvFJRfkRjUCvWO1h3QwEBBuBpXaKTLAx6Ca3tYw== X-Received: by 2002:a17:903:30c4:b029:f0:ad43:4ca with SMTP id s4-20020a17090330c4b02900f0ad4304camr12902892plc.70.1621617489433; Fri, 21 May 2021 10:18:09 -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 f5sm9178273pjp.37.2021.05.21.10.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 10:18:08 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 29A6B423A3; Fri, 21 May 2021 17:18:07 +0000 (UTC) Date: Fri, 21 May 2021 17:18:07 +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 02/26] block: move the DISK_MAX_PARTS sanity check into __device_add_disk Message-ID: <20210521171807.GA25090@42.do-not-panic.com> References: <20210521055116.1053587-1-hch@lst.de> <20210521055116.1053587-3-hch@lst.de> X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210521055116.1053587-3-hch@lst.de> On Fri, May 21, 2021 at 07:50:52AM +0200, Christoph Hellwig wrote: > Keep this together with the first place that actually looks at > ->minors and prepare for not passing a minors argument to > alloc_disk. > > 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 F382BC04FF3 for ; Mon, 24 May 2021 19:46:30 +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 A8A116109F for ; Mon, 24 May 2021 19:46:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8A116109F 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=J8zG6xMYKTSaBamabvApSjLXVwRqj1fvmT/yVoA0ifU=; b=dQVvrqAN0dD2sq MevsKV/m0SS6fz5M342kai29YunJH9PcWASOz0w9v7xTPiwZA6eh/jYh3VDAywTLce7zU0XWTUkNN 9wZcjaNNfKlMsMXIMR9aqWDUgJbx+mFmTz2J00v8IA9YDH4GeNdh+BxHPCFShmdGDTWuBPCjYQOG3 FGzxlZN6LxfuqViEM+B/QMIThuNDw51L3cGHHgozjpqA2DuO6du0+4ED3tozk1KcBm+siswnJ7eZl T7xOD0QZnjD3s49BXNbgdgn+1xGm2KQ9A7JvAjK2duXsWOOfevy4pAq17mwqQm44CFE6MNWL3jPwL bLL4Dma2gb7gbnjUl+cA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1llGWj-001jPw-3l; Mon, 24 May 2021 19:46:13 +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 1lk8mq-000S7D-ML for linux-nvme@desiato.infradead.org; Fri, 21 May 2021 17:18:12 +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=PKUzbY5iIGLiRwydllRSQJCscB+6IrSLbJrzulbqCPE=; b=ZOBdd7EEKTH3Q4ZRkd0xwwRTyZ hR11v0D2UkPqBnuFt+dlv11/K26QyDt1998JMttDZMYUJCUDVtjnZiV0tkJZCUMmvM+Ly84CqQD54 8CZJp3wBTGybSsZ/t6dpEyx/ZD3Y3gHosViK/4z8oOsGF6holy3rtuMjpGarWbuzuQ0MmM4ABAXHi meobFF9+PVOgrY9DtvXEt0UMnBFWJ1SwLanMlvCTtKF0xWQ149PdRAkTt+tKGiJvYSUZqapJ74C4t bMbfje8FBDLRjbtGTvmzUj/Ske/BVou1NOoCUr76I6yGWyPJbWkx4eS6Aa9VbU1ygxBC32g3n2l2Y Cy10RHYw==; Received: from mail-pj1-f45.google.com ([209.85.216.45]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lk8mo-00HIyi-9C for linux-nvme@lists.infradead.org; Fri, 21 May 2021 17:18:11 +0000 Received: by mail-pj1-f45.google.com with SMTP id kr9so3243249pjb.5 for ; Fri, 21 May 2021 10:18:09 -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=PKUzbY5iIGLiRwydllRSQJCscB+6IrSLbJrzulbqCPE=; b=p8w3ZziHnRc+OCCYW+YLJlidVdwnaUVGvBPWPXxTdLAJEF1IlCKFlfMKvfcLEpQAVI mWKyvXVLoBStcuwEt5cr9+Ci1aOwBCa3FaIxOf9/vX8IytnTYQ/ocnMqnNYiwV3CpUbT kYMTFodSjURbvS4lXCNFirwBmfn+GPk5E3bdHp5VglpMexZ2C94ab5AZqGBkGdok4s1k ke5hWztvsosK13Rz/YdSBdxRLSBNFe53t0rWHT30TsWvmqiUFE7xbu0sgMBgpP9Z0Lcp a+fUQUU+2wokcMj2YCAmHh+QRR/mL/CRyXLDdmBBWAaw18Rcd4H2mef8kulSdiJEpXAk S45w== X-Gm-Message-State: AOAM533J6G3B64vF6ciImCd8WmUeSDlX69z40lNHYr4nXtXO5sbYKGtT wVGh5E7moA6n4Z9CAvVTcyU= X-Google-Smtp-Source: ABdhPJwK8NtIAa5B5/oxZS0IR7nB67qYtN97nOKjvFJRfkRjUCvWO1h3QwEBBuBpXaKTLAx6Ca3tYw== X-Received: by 2002:a17:903:30c4:b029:f0:ad43:4ca with SMTP id s4-20020a17090330c4b02900f0ad4304camr12902892plc.70.1621617489433; Fri, 21 May 2021 10:18:09 -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 f5sm9178273pjp.37.2021.05.21.10.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 10:18:08 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 29A6B423A3; Fri, 21 May 2021 17:18:07 +0000 (UTC) Date: Fri, 21 May 2021 17:18:07 +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 02/26] block: move the DISK_MAX_PARTS sanity check into __device_add_disk Message-ID: <20210521171807.GA25090@42.do-not-panic.com> References: <20210521055116.1053587-1-hch@lst.de> <20210521055116.1053587-3-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210521055116.1053587-3-hch@lst.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210521_101810_339723_E3E66C7E X-CRM114-Status: GOOD ( 11.73 ) 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:52AM +0200, Christoph Hellwig wrote: > Keep this together with the first place that actually looks at > ->minors and prepare for not passing a minors argument to > alloc_disk. > > 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 EA2E7C4707A for ; Fri, 21 May 2021 17:18:35 +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 7C80F6109F for ; Fri, 21 May 2021 17:18:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C80F6109F 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 4Fmtc96F59z3bsr for ; Sat, 22 May 2021 03:18:33 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.216.48; helo=mail-pj1-f48.google.com; envelope-from=mcgrof@gmail.com; receiver=) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (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 4Fmtbm0cKkz2ykH for ; Sat, 22 May 2021 03:18:11 +1000 (AEST) Received: by mail-pj1-f48.google.com with SMTP id lx17-20020a17090b4b11b029015f3b32b8dbso5918776pjb.0 for ; Fri, 21 May 2021 10:18:11 -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=PKUzbY5iIGLiRwydllRSQJCscB+6IrSLbJrzulbqCPE=; b=rxAYHRJapadnnnBRhEaTk3q9X+brNgPjt0+jiS4mxIl3z7pNe89Mf0TEWOcZjaUI4j ETzydg1SoILVfw2krnhliELX4+bm4Rvewp1MAn9jEmddkizkG1vyWimccN5nuEwb3LV5 Hy2HTbCMxZUXsuj27gI8n0e++blMOAd4JmvLv9IxI4eD2rDrwFhY4c3TEsqDJUw7wydu CsbLzSz3Zd8Sd9epMXdYR2W0OusYtg0xHoHGvhk7ONoQv22eDzKsQDik5t0IQ7FX3HhE WgPabizGuQO8pveBH91XCXvYF+zUaZ/y85HiRUYEGQ+/K7mLJp097YYTSjts6dDZt9Nq lKKg== X-Gm-Message-State: AOAM532bj8QQkPLI3oDONIqzw1U7ZYppfHDm57fsUlq1kP3/9KmPy84T YIGneaun9Npg1yJbmvhUN+o= X-Google-Smtp-Source: ABdhPJwK8NtIAa5B5/oxZS0IR7nB67qYtN97nOKjvFJRfkRjUCvWO1h3QwEBBuBpXaKTLAx6Ca3tYw== X-Received: by 2002:a17:903:30c4:b029:f0:ad43:4ca with SMTP id s4-20020a17090330c4b02900f0ad4304camr12902892plc.70.1621617489433; Fri, 21 May 2021 10:18:09 -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 f5sm9178273pjp.37.2021.05.21.10.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 10:18:08 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 29A6B423A3; Fri, 21 May 2021 17:18:07 +0000 (UTC) Date: Fri, 21 May 2021 17:18:07 +0000 From: Luis Chamberlain To: Christoph Hellwig Subject: Re: [dm-devel] [PATCH 02/26] block: move the DISK_MAX_PARTS sanity check into __device_add_disk Message-ID: <20210521171807.GA25090@42.do-not-panic.com> References: <20210521055116.1053587-1-hch@lst.de> <20210521055116.1053587-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210521055116.1053587-3-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:52AM +0200, Christoph Hellwig wrote: > Keep this together with the first place that actually looks at > ->minors and prepare for not passing a minors argument to > alloc_disk. > > 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.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 14DBEC04FF3 for ; Mon, 24 May 2021 06:47:54 +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 98BE46109E for ; Mon, 24 May 2021 06:47:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98BE46109E 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-427-wJKTByQpNDSVPUl6IGjDVA-1; Mon, 24 May 2021 02:47:50 -0400 X-MC-Unique: wJKTByQpNDSVPUl6IGjDVA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A42D8107ACF5; Mon, 24 May 2021 06:47:44 +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 8A5B56F135; Mon, 24 May 2021 06:47:44 +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 5FC6155356; Mon, 24 May 2021 06:47:44 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14LHIHIr023210 for ; Fri, 21 May 2021 13:18:17 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6393320951BD; Fri, 21 May 2021 17:18:17 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5F63320951B0 for ; Fri, 21 May 2021 17:18:14 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (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 E3C4780D0E0 for ; Fri, 21 May 2021 17:18:13 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-22-GzcVKkqnO6yf3f6GxwS3eg-1; Fri, 21 May 2021 13:18:11 -0400 X-MC-Unique: GzcVKkqnO6yf3f6GxwS3eg-1 Received: by mail-pl1-f181.google.com with SMTP id t21so11344639plo.2; Fri, 21 May 2021 10:18:10 -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=PKUzbY5iIGLiRwydllRSQJCscB+6IrSLbJrzulbqCPE=; b=QCBLsSbWydXK05A+S+/dnrtsd8q6iGtp9DVn9UXABdp6GvooAPz1UtRnFHfN/f912T uJhyupudWIuJUBvFe9tu7FSj4o35tObmPQYgwzYicLBOKKH+Pv8Ofv89BWVIef4om+Wk yprH+62Y6cZxPF79whBjj0gy6H6oEopjZDa7yVF0xFN1Bter7eTjmo+xK6GVP9I4qOOb mtOuwYwarRq5IRteeTYytwmUq+w9tnmHX9jMpDWs/I8Ua/mOESW+DgFPrD3cvAz41GVM Q1W/PsMvvvtXU6kXzOP/cseKCnuBy+JM2KzE/z8sXdXcTUKD1ESbA9XOKqm7qD7WdgXZ t19g== X-Gm-Message-State: AOAM533Zy3Qps2CzD6Gxn18sAbvYOCPUC/88Q9D8fw0WpFbScDhfi26H 4PZ22BZg/gGNil0J387kEBQ= X-Google-Smtp-Source: ABdhPJwK8NtIAa5B5/oxZS0IR7nB67qYtN97nOKjvFJRfkRjUCvWO1h3QwEBBuBpXaKTLAx6Ca3tYw== X-Received: by 2002:a17:903:30c4:b029:f0:ad43:4ca with SMTP id s4-20020a17090330c4b02900f0ad4304camr12902892plc.70.1621617489433; Fri, 21 May 2021 10:18:09 -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 f5sm9178273pjp.37.2021.05.21.10.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 10:18:08 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 29A6B423A3; Fri, 21 May 2021 17:18:07 +0000 (UTC) Date: Fri, 21 May 2021 17:18:07 +0000 From: Luis Chamberlain To: Christoph Hellwig Message-ID: <20210521171807.GA25090@42.do-not-panic.com> References: <20210521055116.1053587-1-hch@lst.de> <20210521055116.1053587-3-hch@lst.de> MIME-Version: 1.0 In-Reply-To: <20210521055116.1053587-3-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.6 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 02/26] block: move the DISK_MAX_PARTS sanity check into __device_add_disk 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.11 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:52AM +0200, Christoph Hellwig wrote: > Keep this together with the first place that actually looks at > ->minors and prepare for not passing a minors argument to > alloc_disk. > > 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