Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2320083rdb; Fri, 8 Dec 2023 05:04:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6JZ1+j+JLbrI2vxPlRGCPQbcPaiPDhqz9bZSX0mEHS62xqQh7X60cVz+uzO0hRSwDIpz+ X-Received: by 2002:a05:6a20:1586:b0:190:65d3:7798 with SMTP id h6-20020a056a20158600b0019065d37798mr133880pzj.69.1702040668507; Fri, 08 Dec 2023 05:04:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702040668; cv=none; d=google.com; s=arc-20160816; b=Y1cLxik0EEfExuw53JnpFIB/GA4YppiCmeBXzSrea3eWsAa9E3tBFhKWBsoM13y7bJ HRl9Ar/FDhwcMRSa7LgAXTA3tuvuxbkyQJai2XfLL6VLAzZkkYHqZ3ymP/QonB1p3iAW i7fDo357yJoldncsXOigWwZm9FJ2dBqjBivU8BTapQngSANEoVb1gpzLi8OOCO3IUSMP iE3DjWBRO3H+ctiFhQJT+rzwzYyOygG+UHThYToLtJ18y2/GvY2kZk+81tMJjr1nRmeT /ImNo4GRrAejCSgRicbAlxEolNi6Bwd5NDbv24xyRj6IIMBMHOX4xud4P7x7l42F2rAP i/VQ== 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 :dkim-signature:dkim-signature:dkim-signature; bh=85+E0VpvArWKg1KL7PFWDdwa9GmPlU5dScLhcsU8kLc=; fh=xPDonUoz+1hwmcIBxwbdbec6tr2n4MgidYYYN9qQl80=; b=zT132xbpiMtSGhc1J1x1qlmMTsiB/N2/dTGLsDsuFLKvcTRbeuh8WFtR5dCOIPpzBT 5F/JRzn/M76rdS67cFV1JIQlbyNAAPcPLxEQygleYwg4I7q1Ta4Y4BTashcbn0Tjc7Li DEixYoWhaCzGnfIzxgVa5CCIWxtx3uenZGxR3QT+fk9G76YaKQhEkIzmF49cORs3pvpe 7aqA1q5siqWVn/+JtbHVVHXtpweMuJk8UZESnBUDUdQJ58UypzTkCmahH4oMcOU5O6x3 RjCEPJiG7UyovDQ1+BFpWVitMKx4uO5s3BNTpyd4v+R1Jc+J5oARhs9XUZxd3XJTPRP7 yf6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=P2yiZHMD; dkim=neutral (no key) header.i=@suse.de header.b=35ZEnRfU; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qJjTYSTT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=J+ec8WjB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id c22-20020a056a000ad600b006ce5357405fsi1539543pfl.9.2023.12.08.05.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 05:04:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=P2yiZHMD; dkim=neutral (no key) header.i=@suse.de header.b=35ZEnRfU; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qJjTYSTT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=J+ec8WjB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9B1C48725CE3; Fri, 8 Dec 2023 05:04:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233400AbjLHNEA (ORCPT + 99 others); Fri, 8 Dec 2023 08:04:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229844AbjLHND7 (ORCPT ); Fri, 8 Dec 2023 08:03:59 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 755AC171F for ; Fri, 8 Dec 2023 05:04:05 -0800 (PST) Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D9A7B1F393; Fri, 8 Dec 2023 13:04:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702040644; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=85+E0VpvArWKg1KL7PFWDdwa9GmPlU5dScLhcsU8kLc=; b=P2yiZHMDTnC9HhlxBoK21+5j8O0bshSj13uY7M/RLbBZXc62TyU7wg+w9Z+PQs08N1G6YH Bvx4zvwv/SQ+Uu35Sj90I82zQAsj3OvDpI76JW5rTU2i8rG09sQ3fWrG6WM1e532f71l3w ZDy9dLE+1PmqllJaMDSUTwfcpIrObKk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702040644; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=85+E0VpvArWKg1KL7PFWDdwa9GmPlU5dScLhcsU8kLc=; b=35ZEnRfUOLYrArdaXfwtRUoMvzEQRqrUVU2YZXA/hFTIMHjmoSZ0A5cYXhnSQbnHZrksA7 ssuiy82FJ05y0SDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702040643; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=85+E0VpvArWKg1KL7PFWDdwa9GmPlU5dScLhcsU8kLc=; b=qJjTYSTT4ccQkfmW8ieIbTyZRbG2iZ9uMAJ3pJaob97JxMfebPN7lfKJAFTRqTj4ho/8XR 9e7RLYcd+0kjoUSgWKjDvGfchCGLcSEI1flwOtv2MY93ruIHnUa3bDIwTGDUC8mIIPuPp/ w1qFQ0bhXlH4VkEJd5UrUwykkbvdrKc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702040643; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=85+E0VpvArWKg1KL7PFWDdwa9GmPlU5dScLhcsU8kLc=; b=J+ec8WjB/Gk8Q88IhbjqhY561bNd6rBtC6gP9av78FVYcD9AxYk/uFzLVfHVia4z+yanl5 DvP8/sPz3tPBuhBg== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id C6464138FF; Fri, 8 Dec 2023 13:04:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id I9r0LkMUc2X7eAAAn2gu4w (envelope-from ); Fri, 08 Dec 2023 13:04:03 +0000 Date: Fri, 8 Dec 2023 14:04:03 +0100 From: Daniel Wagner To: Keith Busch 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: X-Spam-Level: ************* X-Spam-Score: 13.72 X-Spam-Level: Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=qJjTYSTT; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=J+ec8WjB; dmarc=pass (policy=none) header.from=suse.de; spf=softfail (smtp-out2.suse.de: 2a07:de40:b281:104:10:150:64:98 is neither permitted nor denied by domain of dwagner@suse.de) smtp.mailfrom=dwagner@suse.de X-Rspamd-Server: rspamd2 X-Spamd-Result: default: False [-13.37 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:98:from]; TO_DN_SOME(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[suse.de:+]; DMARC_POLICY_ALLOW(0.00)[suse.de,none]; MX_GOOD(-0.01)[]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-1.36)[90.55%]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_HI(-3.50)[suse.de:dkim]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; WHITELIST_DMARC(-7.00)[suse.de:D:+]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim]; FUZZY_BLOCKED(0.00)[rspamd.com]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[] X-Spam-Score: -13.37 X-Rspamd-Queue-Id: D9A7B1F393 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 08 Dec 2023 05:04:15 -0800 (PST) On Thu, Dec 07, 2023 at 09:31:16AM -0700, Keith Busch wrote: > 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. I've missed that nvme-6.8 was available now. I can rebase v5 ontop of nvme-6.8 if you want me to do it. Whatever is simpler for you.