Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp442608rdh; Tue, 19 Dec 2023 03:56:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJXiM10NN7negaIy36PcbYAJcO/I7UUDz25hcCFjlgRRWVm44O7+rZ6uetMGkJ55JXZDTw X-Received: by 2002:a05:6a00:238b:b0:6ce:6448:4961 with SMTP id f11-20020a056a00238b00b006ce64484961mr1278132pfc.12.1702986989041; Tue, 19 Dec 2023 03:56:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702986989; cv=none; d=google.com; s=arc-20160816; b=iccQ668nR2yURn7DuenXYdAwNXVViWtnKbuSu7J5ufPB34nGLF9hXt6Fs0O0zNVxoh Vjl+Eqhxj2o8+KRjOLvBSaSx8y/wPPzepNsIzFj1OTk/lqppMv1iQLDoV6QgcFxwVdw7 GZKylUsSDJKgoOuFlOdiCX7VjGQF86fQJzjrgA0ylDvm9tpnBDKsJa8uE9i9VzO4L1R3 QsYzU3a/rNQICVvpn8sPu1Iw5afHcBvOiIESrKJBWi8EiShbJtBUxjKIqyxT6Ei2EyJX lSdCuete7h0Je0UaV9i9slnOWz0FKIDXg0saoqK2CRqaB7u8YGufsa69dvDBwrlAiaOl vf7g== 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; bh=X6VnUPdRS6TIN2dqipVcMmUPRqSTj/GA47cqhqYJDZ0=; fh=ZQvkKjxMICS2O4iYL1J7l5FOHdU+Lfn+xG15GsFPvwE=; b=qXlnxVPPvLgVp9GhIOs1VRegM48rNtXlMX4+WVTmddvlT2pxCrmwOVG5NA7uFQensf q6szYj7mJroLRbF8n8QwYogcLe5UqDwueO21rHh3vZs3PhnlNp1EeeAtW0pXXIunQAuq t3QEau2GL48xvDw/r2riRw5wexoIdLC1HWZBFbqXFJ2sDi/jbEhChHThoQjGBtvEa8nK 0PAWBxb/0LDHekAIP5tnEEhtwFzgK0leXaVFa7ijnxtT6GOMcsm3VIKvTI3DYzbjR3x+ lfoIbuUJKlfRkV6AFrge8DUljyRMwdHlAv0oPBq/LYwUpM5BTKSqyJs6REI82haXAxP1 XQVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-5117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5117-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id cn13-20020a056a00340d00b006d2fd72b33fsi5551806pfb.282.2023.12.19.03.56.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 03:56:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-5117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5117-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 41779B2260A for ; Tue, 19 Dec 2023 11:56:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24DE6168CB; Tue, 19 Dec 2023 11:56:18 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (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 58D57168AB for ; Tue, 19 Dec 2023 11:56:16 +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-out1.suse.de (Postfix) with ESMTPS id 9B866220F3; Tue, 19 Dec 2023 11:56:14 +0000 (UTC) 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 C65071375D; Tue, 19 Dec 2023 11:56:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id gVhCLd2EgWV1OgAAD6G6ig (envelope-from ); Tue, 19 Dec 2023 11:56:13 +0000 Message-ID: Date: Tue, 19 Dec 2023 12:56:13 +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 1/6] nvme: move ns id info to struct nvme_ns_head 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-2-dwagner@suse.de> From: Hannes Reinecke In-Reply-To: <20231218165954.29652-2-dwagner@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Level: X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Level: X-Spam-Flag: NO X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[] Authentication-Results: smtp-out1.suse.de; none X-Spam-Score: -4.00 X-Rspamd-Queue-Id: 9B866220F3 On 12/18/23 17:59, Daniel Wagner wrote: > Move the namesapce info to struct nvme_ns_head, because it's the same > for all associated namespaces. > > Note: with multipathing enabled the PI information is shared between all > paths. If a path is using a different PI configuration it will overwrite > the previous settings. This is obviously not correct and such > configuration will be rejected in future. For the time being we expect > a correctly configured storage. > > Reviewed-by: Christoph Hellwig > Signed-off-by: Daniel Wagner > --- > drivers/nvme/host/core.c | 80 ++++++++++++++++++++------------------- > drivers/nvme/host/ioctl.c | 8 ++-- > drivers/nvme/host/nvme.h | 28 +++++++------- > drivers/nvme/host/rdma.c | 2 +- > drivers/nvme/host/zns.c | 17 +++++---- > 5 files changed, 69 insertions(+), 66 deletions(-) > Reviewed-by: Hannes Reinecke