Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp449540rdh; Tue, 19 Dec 2023 04:06:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8cNOiGjOHDIBClHuXB648FcN0NS0KMhYLlYQyKy1umoKZW8KhhmHlOMxmzzwpvDCjxLKK X-Received: by 2002:a50:c945:0:b0:54c:60f0:7511 with SMTP id p5-20020a50c945000000b0054c60f07511mr10390481edh.35.1702987603433; Tue, 19 Dec 2023 04:06:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702987603; cv=none; d=google.com; s=arc-20160816; b=JtXl/hyJLJekYOIUKbRlJmjVsMS+GrMdsL0nOhaikpPe4iY1I1LgUxfojYx66Hbskl 4XQuE2DFfiwCaUtdAtt9e10QZi28DXeQSNj/4RP37/ljPdYWzBVeSwKULCaiy+/2bxO4 8aHGPo2R7i68/rGdTrtjx2BNHH3334vYdtYsKiXCWeiCiuiHzlZuJNA+IFKW1FQ4G7mg fCujUuBR6gODvkzFqTyJVFaLHRBDyOeGWCv6klLT2UTK87E/vLMRNmctSxkec+95nwyw ybYKREWPVzuRspqe8HWRYBOZXlA6k6LD+zCnjop7vbCKd+/lnGooXbT/B3GbHGUN9Ru+ OqNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature :dkim-signature:dkim-signature:dkim-signature; bh=g8oAu6klFmCWg/CJURjydk6zRA6PnHGLGZJH0ntjFoY=; fh=ZQvkKjxMICS2O4iYL1J7l5FOHdU+Lfn+xG15GsFPvwE=; b=JzjwL4w5FxlMPd8ar0vDKS63r6FZy3xJmk3FfNSjnHbUV5SJFjfjGJGek17Dql+J/E FnQhit86ug0kJRb5ItMOjv2KRx+muudxRr2VfHWP9ymJq8FDXXQc7q36PilomXgqV/7h Ofc4HD+qJmxlPuU1Qa0axTHh2r8EiXtMsx9ncR9UrQ5MAHIYEwxDQ26aLfZbCYVII+WZ 2w4P4E+/wCQq7noL7u4kL3O4oX7C4ssX7GmmUdQppzEip4vf3EIoqR2OmWvDiFty2m7v TgC6XxlzRNf6vIMkV4+OFrATGZB+VHGrW0JOH5PjFppifQla90+g3KYloSfi4HHMv7/p uRkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GfsU4the; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=gIBLrqfL; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=y4dYDWLD; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-5123-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t18-20020a508d52000000b0055214ee0ac2si5888654edt.250.2023.12.19.04.06.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 04:06:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5123-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GfsU4the; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=gIBLrqfL; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=y4dYDWLD; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-5123-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 015A81F249D8 for ; Tue, 19 Dec 2023 12:06:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8262418E2A; Tue, 19 Dec 2023 11:57:52 +0000 (UTC) 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" X-Original-To: linux-kernel@vger.kernel.org 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 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