Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5998183rdb; Thu, 14 Dec 2023 05:55:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IE44HbajIAsT+febkSS4d+ipeM6ibDqQo3F5w7DtcQjAtQIbuZTIPxtoHbMVgZN0+Ead5W1 X-Received: by 2002:a05:6a00:8992:b0:6d1:1bb2:7f7f with SMTP id hx18-20020a056a00899200b006d11bb27f7fmr579072pfb.68.1702562105309; Thu, 14 Dec 2023 05:55:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702562105; cv=pass; d=google.com; s=arc-20160816; b=A6trt4Kcvk9SuOePRmWPDTtyaW6yeXe+7Z/ABrehHodMPyvhZXVZsSkAAy0xlyd+nj Je9bb7ZM9m1uGns7dtla1viiv/xv29jqVthCjYdNIyJv5G3g4i77VKRzmwkMLA83Iyoi WfJDqDoK2NSZcxoK2sjvjnNbmSv5MthMjtb3+20BGuAGNCYLzl8NQDLg99TEJpJa8dv8 R7SYrapguOggRoxCKfSMsY9KL3PMzn7iXEI6xZXB/2CT2ouBQEtGtvqAG/CBAU9fKgWm gEeXUcWJKRke6+94Lg4Dq5aU9/CEi3WMkwcoYLSo9s/heWJgB+6mHEP6vhbfg1SQtN3l 5ApQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=g3UkmMBXkbFllY+BStH5X7wm26oKapvbVTKUD3kfxzw=; fh=9aFTnNDe0Q2oFCtYS4UJAPQOCQS4wLfEsO7QjizMuJk=; b=fu239eTEFPJ9l4e5DZVPGYYA9LJdT7ItRrLChviuVCF0Z8sILUgGn/15vqO364VUu7 NxMZQJUBXeAk4+AzmoaKzUDFLvkHdJpsoryRjHyJGF5fUOGwea8ElBjmsfxOonFupxYY 3a6HdkXOdoy7osHxAQk2huKNxMSkxXcovVSzR7ykxkj6Gs0qqnsApJJzqmgJvL6usYA1 cuyTZuFPR/2B6UEv2x6ckRyCY/6AoLeJO0qcUMIhJvCfuSreLJtQxrjFgHwCrRVJmJdI 9E6/ow7bZJgBdv9gdrmJkOA1Gf07lgy6WplZJ8Yj4QFL+L65mqr7YpEjId5Kctim3ra5 p/ww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="H9/kTZaY"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b14-20020a63cf4e000000b00577461296a9si11476056pgj.338.2023.12.14.05.55.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 05:55:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="H9/kTZaY"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 9C374823B3F5; Thu, 14 Dec 2023 05:55:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573294AbjLNNyt (ORCPT + 99 others); Thu, 14 Dec 2023 08:54:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573115AbjLNNyr (ORCPT ); Thu, 14 Dec 2023 08:54:47 -0500 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2049.outbound.protection.outlook.com [40.107.93.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11C18A7 for ; Thu, 14 Dec 2023 05:54:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O/9GLpJovii9eN4fynLAmbBol7fR3khdgQSvnT/KlI8JCtm3kHcUfxVi7joFdhNsAdgD5Dnwsdqly++uDOeUNCl7L8dh6PXtdP1W88isANYNDkc87wFRGWGFkSE8oPqcaqasBkNSkl6XKjCGsndxWc523zQWeKIDgdNVuagqLlU81HDEuIiTfmSLcWiCvuUjEL5kgCYZ3e/yDDhUGSQq6Ii7mvseZYTp1x4h3aqmBKhIGpX9hnbbnw707Xxr74uPpgSOXLJx2LzWtoBl43euNRZpK4G8Lrmc8rIhYbRGfV6qhkcPIDOhFgRn87m/WtMyUJ93CArwcRUpYlx58976Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=g3UkmMBXkbFllY+BStH5X7wm26oKapvbVTKUD3kfxzw=; b=MsrICBm67rttqAYIUnDfQGMBWJH0w9lOTm1YROCbdRxPLA/znXyfqczOk/YTFsMEfxfTvcc8YknrYS4H42PtZ356aYDVBzo3yansk9WoyFfx0v1mBStVAn/VI7xrWeyJaFh9bQ97qT9w5CKXSz05nO9isqaZqJz8HsySXgcx/L6uLF/Qbb4Gq333lBurrkRfh7G4XIwOZvtNA8fpGQioH4Caqgp8SEV0J1HgW4zw0lqc8SVf/U7095GtjNRzaWCpNUf9PxPG/HBLfRTYBmw42eHQrVrEeQcz0FFtPxxwmLmjhr7g8EMTkktc+YYSEvJpD9T9B+RdkvEEhDvGsRu5Ag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g3UkmMBXkbFllY+BStH5X7wm26oKapvbVTKUD3kfxzw=; b=H9/kTZaYIoztxtZEsilZyP5lobJ/CtwdPgqwsiREz0HydzTHcL5rNQ2e5IaEV0r+gCkbYz8Pdos6XwIqv9/ilpifv0zNDsr0Nc/9SO0jBnUhpqA1/uD6FUR9k0C/30vx03nmO0MLqJFOha/reKxdbaNU4/sO8UPjwqrOKH6swgW6lNj8KSNZOrbQsm6rPBXdzuWnj4mxOTtTRJsFGD6WPaNEHoJDoccXLqEB0rMtukoEHF7V8xi4jyUIIa7b0Duth+W8ezM0n9Q7FRn4+ayzFrqzEX+OzhSAHbfFGpOCwrnv3QfcMK7gdtQL8pt/kkBeDahk7jTZJTCL6kbBavAoXw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from DM4PR12MB5040.namprd12.prod.outlook.com (2603:10b6:5:38b::19) by SJ2PR12MB8807.namprd12.prod.outlook.com (2603:10b6:a03:4d0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.38; Thu, 14 Dec 2023 13:54:51 +0000 Received: from DM4PR12MB5040.namprd12.prod.outlook.com ([fe80::6f3c:cedb:bf1e:7504]) by DM4PR12MB5040.namprd12.prod.outlook.com ([fe80::6f3c:cedb:bf1e:7504%4]) with mapi id 15.20.7091.028; Thu, 14 Dec 2023 13:54:51 +0000 Message-ID: <30f26111-2b17-6ef2-6c58-4b16c890ef87@nvidia.com> Date: Thu, 14 Dec 2023 15:54:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v5 1/6] nvme: move ns id info to struct nvme_ns_head Content-Language: en-US To: Christoph Hellwig , Daniel Wagner Cc: Sagi Grimberg , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Keith Busch , Hannes Reinecke References: <20231208105337.23409-1-dwagner@suse.de> <20231208105337.23409-2-dwagner@suse.de> <7ldcd6imhzxhn3wsirhxxyhb75x5iay2p67p2i4qi2euyztc5i@nbjtvyixifqm> <20231213153833.GC7301@lst.de> From: Max Gurtovoy In-Reply-To: <20231213153833.GC7301@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR13CA0138.namprd13.prod.outlook.com (2603:10b6:a03:2c6::23) To DM4PR12MB5040.namprd12.prod.outlook.com (2603:10b6:5:38b::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR12MB5040:EE_|SJ2PR12MB8807:EE_ X-MS-Office365-Filtering-Correlation-Id: 1bd035e1-da3f-45fb-dd7b-08dbfcac3e05 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6VnwOwgLaSCLJYpSRyvazTq37tFshc8KPJaIadn2L1EV1DTtl+pat0PP2W2xFreji3IrE0TMs66T+LOSBXxc/MJs8KsuicuOV8q9D/W+mTPhz+QpbkKJDo+Fd4mtZlQd2ayQ2cpfpGa7/E81UTISsL5DytOVn24TBqsPSiITiKSw0NxuJyTx80hBijfY0JrRE/ZfmpcrPCTD8+qgs3VUvWEDa9Y3IVeQE0d9QoSOP7wPk7ZJGnmP5l0uNI2lRtczJbJRjhnPQnKnu5ISB9WrKtYkEWWZibvb19J6VBfCBYOrZoM9Zv5QEnYOVmODAMTgG+JboGXxoF4ihj4yuWEmYWqd/PaSvedZwi5ppDFodwpSa3ZbnurOu3bsqlJRMHjF0IeIzOcMW3cTM8QLeupbJN+/L8Ov1tuQ1BGaaX/sIpVTaAZcJXFdEOFht6s6sGjiAoahB5liZ/BisA6scl1wNneuaDmkcREHovsZkGMCoqnYxaeDhW13H44DcJDe94krFb42MvcPt8tN7IqGjJg2Kg7q/mcMCg9SxI3PeYDtg+MVxRSWTn/T/MRaI03L/ZX3AonAqtdvQtaAIWZZYpUb+cGc4NuVAyMpIcSNWhlTj3v08nGNV+2Adzf3aWYi7G7SQCqKvMjJ0T+Yym2a1ChY9Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5040.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(346002)(366004)(136003)(396003)(376002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(6506007)(6512007)(26005)(4744005)(2616005)(478600001)(6486002)(66556008)(66476007)(54906003)(66946007)(316002)(110136005)(31696002)(6666004)(53546011)(86362001)(41300700001)(31686004)(38100700002)(4326008)(8676002)(8936002)(5660300002)(2906002)(36756003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TW8vNUlveW1DeTcyY2JsR1pUWVBWWjNRd3BuOHlhMFdJajlpR3F4QjNBK1BT?= =?utf-8?B?WDNFMnI2clV4VmNOY2VqWkFVdGpBS3BrLzlCWFB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DVQTXdlYVdrMlYwa3dvMTFKb0paQ1hkSHE2TXNtak44RXdNM3Mz?= =?utf-8?B?bWNMcU52blVtM2k2cU1yN2NlaHNvdWJiSVQzWll3NnRlN3psMkV1R0lYeDc3?= =?utf-8?B?YUFINlNwK3AxT2hobkpGYkRkdE9sN0k5a3gra0toRDJDa1pGSmw1cHZpWXFP?= =?utf-8?B?MldHRStQS1N4N05iYjRnRm5Qc0JOcFViVnI3SmdJTC84eVdVY2krVUJIRkda?= =?utf-8?Q?iYQVj1kt2ULhVUz/EPxwPXMC/?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1bd035e1-da3f-45fb-dd7b-08dbfcac3e05 X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5040.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 13:54:51.0150 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iUcEYWXtbzgCeks1pXlmbiyoRwgugVXgTMRIfDpgyPMApL9EiQgazkh+LXAPdIHxX2DuqjOng+TAM/ARa55yhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8807 X-Spam-Status: No, score=-2.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 14 Dec 2023 05:55:02 -0800 (PST) On 13/12/2023 17:38, Christoph Hellwig wrote: > On Wed, Dec 13, 2023 at 03:54:25PM +0100, Daniel Wagner wrote: >>> I think that the whole PI stuff needs to be taken with a bit more >>> consideration because if not all paths agree on the pi (as we have >>> hbas with fabrics) we can't just override or do a logical or on >>> the capabilities/attributes. >> >> So should the PI variables stay in nvme_ns at this point? Or should I >> add some checks which avoid an override and warn in this case? > > Didn't we merge the patch from max to require uniform PI setups > for all controllers that we're using in a multipath setup? I'll > check the code after finishing a few more things if no one remembers > offhand. > Not yet. I will work on it and send it soon with some another small bug fix I found. Then we'll need to rebase this series on top.