From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6BD41D61A5 for ; Wed, 11 Dec 2024 08:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733904638; cv=none; b=RL0E474dRyNyTKeaVOU0aA8RRqzNANa7HpLjDN82/GPLuDrVH33HaNSf1y1idP1046/zoY0XOPUTFAFJFjIv1DrGkOo7fbeSyWxTBKlwk3CXNNljsTa4CcAzLCRpNW6TxAoFVcKAJeBhsJetbfIXM7EuhpPCGdvZMeHf1HrgUa4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733904638; c=relaxed/simple; bh=7hZvt3UaEzFme6v6X/TtoD4MO25W1cQYB8Sv/TFxD+A=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:In-Reply-To: Content-Type:References; b=CsgL+Hde000aXSMxmw3LGDJ3YonkN+RGDyXX+NNHPYVM5/Rtt1AJJ4AA25Z0dWYHfNGfyFJqnwUE4v1Ccr6bvr2HNbE6rPi3f72aWEvlqD7GqkGE7c74QupznBgzeXniqNOvrARgxycM+nkp3+DOt1ZF74NfyXeEumBXC6VVQ5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=EjxWY3XI; arc=none smtp.client-ip=203.254.224.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="EjxWY3XI" Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20241211081031epoutp026a5ba0e90c6d069599e384ae742b2e40~QERNtFGeQ0925209252epoutp02P for ; Wed, 11 Dec 2024 08:10:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20241211081031epoutp026a5ba0e90c6d069599e384ae742b2e40~QERNtFGeQ0925209252epoutp02P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1733904631; bh=muEp29avMHP9Dfsx3yAgp2KHd89DMK17sHRSPGbmxUM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EjxWY3XItegMM2or3nJIbZN6/D9TmxOj6NB1WHt7nkMdGqBURV5hlqZ4gsDBmb5A8 xU12CFjuVKTTf+aIvPPyifFhNCXwTSBh/vwT2XJvjYCjFrNK3qfio86VxMKA96HFbB UaXprCWD+1M+nXtbg6QSsSiS+Vihz1iBLRmDVdRQ= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20241211081031epcas5p3f961c90a3a9ee92b09d418cfa7b1ddbd~QERNP_6dj1823818238epcas5p35; Wed, 11 Dec 2024 08:10:31 +0000 (GMT) Received: from epsmgec5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4Y7Svn2mH7z4x9Pq; Wed, 11 Dec 2024 08:10:29 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmgec5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 99.0B.19710.5F849576; Wed, 11 Dec 2024 17:10:29 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20241211064906epcas5p3828a664815dd92ac462aa22c3e64d469~QDKIUT2YH3167431674epcas5p3L; Wed, 11 Dec 2024 06:49:06 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20241211064906epsmtrp21a72278a6cbc165e8d24f6eee0539b6a~QDKITZ-CA0834008340epsmtrp2j; Wed, 11 Dec 2024 06:49:06 +0000 (GMT) X-AuditID: b6c32a44-36bdd70000004cfe-37-675948f55814 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id A8.74.18729.2E539576; Wed, 11 Dec 2024 15:49:06 +0900 (KST) Received: from ubuntu (unknown [107.99.41.245]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241211064904epsmtip2e061df1a4f20639f72ba1c92a3f34579~QDKGeWa8x0125501255epsmtip21; Wed, 11 Dec 2024 06:49:04 +0000 (GMT) Date: Wed, 11 Dec 2024 12:11:11 +0530 From: Nitesh Shetty To: Keith Busch Cc: axboe@kernel.dk, hch@lst.de, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, sagi@grimberg.me, asml.silence@gmail.com, anuj20.g@samsung.com, joshi.k@samsung.com, Keith Busch Subject: Re: [PATCHv13 10/11] nvme: register fdp parameters with the block layer Message-ID: <20241211064111.zo7nxoqczftixedt@ubuntu> Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20241210194722.1905732-11-kbusch@meta.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOJsWRmVeSWpSXmKPExsWy7bCmhu5Xj8h0g9ffhSyaJvxltpizahuj xeq7/WwWK1cfZbJ413qOxeLo/7dsFpMOXWO0OHN1IYvF3lvaFnv2nmSxmL/sKbvFutfvWRx4 PHbOusvucf7eRhaPy2dLPTat6mTz2Lyk3mP3zQY2j3MXKzz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a5U4a8SS3FGoqEWc1FxIgCodVCnCwMAAA== X-CMS-MailID: 20241211064906epcas5p3828a664815dd92ac462aa22c3e64d469 X-Msg-Generator: CA Content-Type: multipart/mixed; boundary="----QQbx9Hk6-Xl4D1oMwM2uYkP7uAkYtjoi7zPie6od2LiHNIsi=_765e6_" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241211064906epcas5p3828a664815dd92ac462aa22c3e64d469 References: <20241210194722.1905732-1-kbusch@meta.com> <20241210194722.1905732-11-kbusch@meta.com> ------QQbx9Hk6-Xl4D1oMwM2uYkP7uAkYtjoi7zPie6od2LiHNIsi=_765e6_ Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Disposition: inline On 10/12/24 11:47AM, Keith Busch wrote: >From: Keith Busch > >Register the device data placement limits if supported. This is just >registering the limits with the block layer. Nothing beyond reporting >these attributes is happening in this patch. > >Merges parts from a patch by Christoph Hellwig >Link: https://lore.kernel.org/linux-nvme/20241119121632.1225556-15-hch@lst.de/ > >Signed-off-by: Keith Busch >--- > drivers/nvme/host/core.c | 139 +++++++++++++++++++++++++++++++++++++++ > drivers/nvme/host/nvme.h | 2 + > 2 files changed, 141 insertions(+) > >diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c >index c2a3585a3fa59..f7aeda601fcd6 100644 >--- a/drivers/nvme/host/core.c >+++ b/drivers/nvme/host/core.c >+ /* >+ * The FDP configuration is static for the lifetime of the namespace, >+ * so return immediately if we've already registered this namespaces's Nit: namespace's Reviewed-by: Nitesh Shetty ------QQbx9Hk6-Xl4D1oMwM2uYkP7uAkYtjoi7zPie6od2LiHNIsi=_765e6_ Content-Type: text/plain; charset="utf-8" ------QQbx9Hk6-Xl4D1oMwM2uYkP7uAkYtjoi7zPie6od2LiHNIsi=_765e6_--