Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1778126rdb; Thu, 7 Dec 2023 08:31:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmx9BGx1qyH19XjrbIKgNpoTxNOBlnEXrPgRfnIiVanWVw8IgcR7KTASlUtlalnvkuRh0D X-Received: by 2002:a17:903:1249:b0:1d0:c532:84ce with SMTP id u9-20020a170903124900b001d0c53284cemr3433562plh.77.1701966697575; Thu, 07 Dec 2023 08:31:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701966697; cv=none; d=google.com; s=arc-20160816; b=cBmRYEbrlaJfqbdnnnCwI+RUrLC5fW1G4n0DDBEeOZi+T3yTs+sCbH/i32gqjeZgop thOASUmmrE0nf+/pmjDxFrvbMffotyyxEUAEgdfM2rElKojumws7z77ugUXO9LTROE0K qhubeV7GusGpkwtoc2bqMaB4k11Wj1fW6PIjIZkOdFa+5e+NWnxmWt2O5OwIyKOIGsGD qhDoAGsHxR5RZdsz5MbEcp0Bqx/1DKcwvb+4y6A84rdd7Z5+sy2+e0r/Mq8AcnFlu4ac w1v95scJOBMPpRseRv8HkUd4Skb9hxIqOukpp6WOQQ4Ni0zOvouoiqPe0umNhCpUNeE3 LbXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ay/zK+NuPG4ZRYPzyDdCycWg8Yh5s/F6BCq3upcEZ4U=; fh=5xXR+woD6iW9GYQiMghIbApiwJZXO4f7q1VcNmDEv0Q=; b=0z3xZ4uybEccxDfShCk9KnU5BX6PPnzRJ/lFmnUwYA/iuzqZlUJcSLfp4LQR7vWFOG KLnd+gbnb/mxAtr3H8vnNC0ZkynBOVrnW1z1+to1rLT2MpXGszEhQsT/hgkOi8F6XMlR wi5pggLDyK1pjbxfhV2hl78426Q9j+z0k8sNwXFeh6MkeC+M8Vg+AlBulZyIJT93t1cM gYnixRCiASdhiPrWCvrrFvZmXLI+rB1VoR51/K5uoj5bjtgxXUFMe2oXZ5htDU/6ESdZ S9Bb2M7Y5gtqOKQJILUra09xO2w0Pj1nqDlR73x9IYl1jDuG/zr+fwNme4yQTBKWBDTT THzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cx2IFLhX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ju5-20020a170903428500b001d0626761c5si7234plb.217.2023.12.07.08.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 08:31:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cx2IFLhX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 031DA804B010; Thu, 7 Dec 2023 08:31:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232713AbjLGQbQ (ORCPT + 99 others); Thu, 7 Dec 2023 11:31:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232804AbjLGQbN (ORCPT ); Thu, 7 Dec 2023 11:31:13 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25F06132 for ; Thu, 7 Dec 2023 08:31:20 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DCB0C433C7; Thu, 7 Dec 2023 16:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701966679; bh=IrVhkRIlzQL6MWkn22aaJtQC7k1uTCUev4gRx7OjJno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cx2IFLhX+un9669VMBlyXxDLw8nn4RuA47dRz9UwBAkGQQmY4+2Q++xkvNajfKqnD u1i/gkoY8wT5Lg4CKA1uVN36ykeV1MoRdU9XNmoMUZZyaiDww3f9ID3gHf8Lq0ihmF DI/4ra2H6MlJVElYU9IkapNq0co45hVT5tBcJejp+4doCk99opvgge8ViW9PCspTX+ ZVw0IC5GhQ8C3dzsE1XIYWuDxito9RQzngCV8qBea0S0e/5RvQ+rwAmBMlDCDDAdxH QggEAjradx/yx0g4nAiw1AEw528VYIrAd1cbFpxjeF7LJIcrqAKXaG6LWFDHIcRacH OMCRcR0UdTNKg== Date: Thu, 7 Dec 2023 09:31:16 -0700 From: Keith Busch To: Daniel Wagner Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Sagi Grimberg , Hannes Reinecke Subject: Re: [PATCH v4 1/4] nvme: move ns id info to struct nvme_ns_head Message-ID: References: <20231207123624.29959-1-dwagner@suse.de> <20231207123624.29959-2-dwagner@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231207123624.29959-2-dwagner@suse.de> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 07 Dec 2023 08:31:34 -0800 (PST) On Thu, Dec 07, 2023 at 01:36:21PM +0100, Daniel Wagner wrote: > @@ -1906,7 +1908,8 @@ static void nvme_update_disk_info(struct gendisk *disk, > * or smaller than a sector size yet, so catch this early and don't > * allow block I/O. > */ > - if (ns->lba_shift > PAGE_SHIFT || ns->lba_shift < SECTOR_SHIFT) { > + if (ns->head->lba_shift > PAGE_SHIFT || > + ns->head->lba_shift < SECTOR_SHIFT) { > capacity = 0; > bs = (1 << 9); > } A minor conflict here: this series would target nvme-6.8, but the block tree we're based on doesn't have this code. I'll patch it up for the current 6.8 tree and make a note of the conflict for the next merge window.