Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1747271pxf; Fri, 26 Mar 2021 14:00:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJqT4uf8/9qV1iuL8kZp8JcRZyHNJcoItheahNKCx1ME7dWTgXvEASgYcydQmsq3mQ8k02 X-Received: by 2002:a17:906:6d8e:: with SMTP id h14mr17395721ejt.410.1616792449565; Fri, 26 Mar 2021 14:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616792449; cv=none; d=google.com; s=arc-20160816; b=ZPoPHz49wviwKWXifulM17MCvy8sU/CZ15+1vgysAf4Uh2pqUuwKVJI/M44Lhpy/eF AssIPuaj3qU3W5WciY9AQU12cLzPcPBQ57ENz9RsjcBza2viYULjiae7zJYYancR5Kqj cEXaPqVZGC2a77DsYroYabxGsNKySG5ZQzDnbr21k+gTgDztbWiXrCVTCq3ahHqZU9ot mjxU3eiZuF4pUewGpvJlshoqwg8XYzsF3mtKwAlEX8+Vy+3ki0jDSRH+hzOcL1iGqIbD rWXlxiXjMVYexnlPLWNI5R5GQrxmgF7wR2WvptToKjgoHvaQs0eH+jp7gDlIKUsjxmdQ r7bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=nWpDQmZNg8zKVk12QskQ7NNS05C4fI/JmZBKLdKyu8Q=; b=N6a/HzhecYg6NRY/T66ISB+Qjos+pzeK0Z2Td1IABFLJqH8G3wyaPcZucy6KNSCYfs c6nHkslqPUoQ9ZJtcVC5pgV3h+OBoAYoTX2d1/VWX166u9KVZ99/+6WbruBwPQB4XMyo w29VnhJeTcyDETpZGfHrVbf7eRZ4y05+hHwZQQJqDZuhKMYxYrHHKwXGMdoQBflWiCEY aOZRSvrvdOLOIZSDwTx8hYXKUEoHTEG1E0XCcBXLDlOMUqoJSi/rKvVIFyHLR1KgbtEd 3QUoLve7tlNZfI3DLyshQhs0LcASENvmdGZ8hJfgmi0eZ2bWrGkRfcitX2gZKpPrOmNf 3Ewg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l22si7350020edv.168.2021.03.26.14.00.25; Fri, 26 Mar 2021 14:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbhCZU7S (ORCPT + 99 others); Fri, 26 Mar 2021 16:59:18 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:42648 "EHLO mail-pf1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbhCZU7F (ORCPT ); Fri, 26 Mar 2021 16:59:05 -0400 Received: by mail-pf1-f172.google.com with SMTP id 11so5664537pfn.9 for ; Fri, 26 Mar 2021 13:59:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nWpDQmZNg8zKVk12QskQ7NNS05C4fI/JmZBKLdKyu8Q=; b=IxAxj/OH8Qm+KntT/l2kLPI6zFDDnFU+gwdrHz973IaR6Ts1LAmMyuddG31PojEFdb IQ+T0qLcpnJwH5UdWO3EyCpvMQOs3Cx2otwDJSDb0ebSB6G7r1erj7b1flC9qdAoL7yx qx9BoXNi5GWui6KNCydXzRsWyqU5e/q3GKXtfvAfynDnTUOnGzQUPaFQcysEBG26rHqr nut46Wfiym/V0BGc3h4cwWk+XZPD02tGHmIbmrXv6uOfRJ6UXpElpJS4XMCA58ADTOCZ du5GHdn5M8VyqTjGyysZGhAxErdNBJL87hpEAfLfaWa1svZdHHHQzgj+YZg1gGRNHvhM 0Aaw== X-Gm-Message-State: AOAM530dIEwGW8X/z73vGIQbRJOiWofoXT8qr7bMBGxs5B6k5y7iiIAj l4Ard4qjfQY3+xUAP0QogyCXaSxpPew= X-Received: by 2002:a65:6107:: with SMTP id z7mr14243684pgu.435.1616792345172; Fri, 26 Mar 2021 13:59:05 -0700 (PDT) Received: from ?IPv6:2601:647:4802:9070:5512:a799:a5d1:66a3? ([2601:647:4802:9070:5512:a799:a5d1:66a3]) by smtp.gmail.com with ESMTPSA id d20sm9108893pjv.47.2021.03.26.13.59.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Mar 2021 13:59:04 -0700 (PDT) Subject: Re: [PATCH v2] nvme: disallow passthru cmd from targeting a nsid != nsid of the block dev To: Niklas Cassel , Keith Busch , Jens Axboe , Christoph Hellwig Cc: "minwoo.im.dev@gmail.com" , "javier@javigon.com" , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" References: <20210326194749.396599-1-Niklas.Cassel@wdc.com> From: Sagi Grimberg Message-ID: <0c67bd30-9718-0830-db46-cd36e8d5dca5@grimberg.me> Date: Fri, 26 Mar 2021 13:59:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210326194749.396599-1-Niklas.Cassel@wdc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Sagi Grimberg