From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 6379618E16 for ; Tue, 19 Dec 2023 11:57:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="GfsU4the"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="gIBLrqfL"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="y4dYDWLD"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="KfZfDXQm" Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (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 7B5B01F7C5; Tue, 19 Dec 2023 11:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702987068; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g8oAu6klFmCWg/CJURjydk6zRA6PnHGLGZJH0ntjFoY=; b=GfsU4theaiYSd31soHT18X5t45YfIIXBtpsgaL3yEkGnf8pAAYl89nsd1DhZUpx+Hq6UTw goNI15QJ9DRxMV8lxM0n27f4EANg2zAHLNMkctMytdsnSc+n2RPBpXLU5e3977fhrCW4ze addKcFIWfBA6+pC4/VBkElYvB7L/uro= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702987068; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g8oAu6klFmCWg/CJURjydk6zRA6PnHGLGZJH0ntjFoY=; b=gIBLrqfL54pKZl8d2Lghmi1ew1FZ/j8K6GBJUlTkTPiRvzL1r0ttru+Hj41oIfcZ7zQPma rO5Es5sqnQ8uxIDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702987066; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g8oAu6klFmCWg/CJURjydk6zRA6PnHGLGZJH0ntjFoY=; b=y4dYDWLDLauzBtr4gA1OVFj8W1LRWwmJy9mUQY6v+KBOwd26W0F9N8q3iCGRnhzGq4fh8v c3ZMtt+4haze9IjqpqvPZGxw7onvAasOlnM2ecY6ZOUVlAzBPnLsCDjtR21oXh8LwFUNTd XOutvOOcJfjj+jU9WbWTxpteW5swYso= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702987066; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g8oAu6klFmCWg/CJURjydk6zRA6PnHGLGZJH0ntjFoY=; b=KfZfDXQmF+oTfTvpjLfG+ZBJl49rZRJ4/pXKzHinw6I4Jof+jBwZCQGZMZ/n9lNISdL8Gf 41nv0WStddKfE4CA== Received: from imap1.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 imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id F41F81375D; Tue, 19 Dec 2023 11:57:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id YO+4ODmFgWV1OgAAD6G6ig (envelope-from ); Tue, 19 Dec 2023 11:57:45 +0000 Message-ID: Date: Tue, 19 Dec 2023 12:57:45 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 3/6] nvme: refactor ns info setup function Content-Language: en-US To: Daniel Wagner , linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Keith Busch , Christoph Hellwig , Sagi Grimberg , Max Gurtovoy , Chaitanya Kulkarni References: <20231218165954.29652-1-dwagner@suse.de> <20231218165954.29652-4-dwagner@suse.de> From: Hannes Reinecke In-Reply-To: <20231218165954.29652-4-dwagner@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Level: X-Spam-Level: Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=y4dYDWLD; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=KfZfDXQm X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-3.68 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; XM_UA_NO_VERSION(0.01)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[8]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; BAYES_HAM(-2.18)[96.06%]; 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]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_TLS_ALL(0.00)[] X-Spam-Score: -3.68 X-Rspamd-Queue-Id: 7B5B01F7C5 X-Spam-Flag: NO On 12/18/23 17:59, Daniel Wagner wrote: > Use nvme_ns_head instead of nvme_ns where possible. This reduces the > coupling between the different data structures. > > Reviewed-by: Christoph Hellwig > Reviewed-by: Sagi Grimberg > Signed-off-by: Daniel Wagner > --- > drivers/nvme/host/core.c | 106 +++++++++++++++++++-------------------- > drivers/nvme/host/zns.c | 16 +++--- > 2 files changed, 62 insertions(+), 60 deletions(-) > Reviewed-by: Hannes Reinecke Cheers Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Ivo Totev, Andrew McDonald, Werner Knoblich