Message ID | 20241029162402.21400-1-anuj20.g@samsung.com |
---|---|
Headers | show
Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (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 09CEB19DF95 for <linux-scsi@vger.kernel.org>; Tue, 29 Oct 2024 17:23:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.34 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730222608; cv=none; b=IvIVOjT/TAApIdHrTZsS0s/QJQzTl8puZnrc9le9tJFB23R7WjuScR8rZml9zKTl7bexp20bY9/gneVoC74irajohht36OrtNPLymHzXX4D9KrE6zwqf+IbBrZ9/d8HJVWJkoz8PYztLXbBFdHvvkeawoqEpPJiL2Me+FqIrc+I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730222608; c=relaxed/simple; bh=gEeBUncaGG6VOEBdFic4nzwQmdJRDUuOC3NR3ncyyRQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: References; b=MbnUNwN1dgSllazbpzVxQw3SHjz8sx5rLg4Jkr9tSQ1QexCIqSdqrgkzRW0sE2qEO6b/Jgw+9ch0TDau8RvLFC3o4BXzA7y6TsA+UyJFnlRZRhuYd9oq/jymyPMucMn/ODSC6do4TQ2Xv59LgV2GyYOzP/zNIzGqo9aX+KCKecc= 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=Pp6z8qvE; arc=none smtp.client-ip=203.254.224.34 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="Pp6z8qvE" Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20241029172316epoutp04b8bd5a4550ac43a6880e19bcbc19a24b~C-Ei_b6Ow0698406984epoutp04F for <linux-scsi@vger.kernel.org>; Tue, 29 Oct 2024 17:23:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20241029172316epoutp04b8bd5a4550ac43a6880e19bcbc19a24b~C-Ei_b6Ow0698406984epoutp04F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1730222596; bh=GjZAGo3wUEjj7FyWUUD5ob2LNyJHmYJnieKf4stef7w=; h=From:To:Cc:Subject:Date:References:From; b=Pp6z8qvEp8FgZ6Dg+Txa5AfYXS8H3pCl/9DE5r5pSbo9VRkktSTPn7+tJOnjgl9NN tT3k+fv4x66LP56jWwM5fEQYNHKkPZvnQmnkC2wLxMfxgIAIVcgmO0jCvPGIctF6ih sEaqxSO12d880RxfWH5AOLjJdFTLgZVcq+z0BFLM= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20241029172315epcas5p2d887a4173ab905f78a9cbc0a004c2882~C-EiAGYtx0233202332epcas5p2p; Tue, 29 Oct 2024 17:23:15 +0000 (GMT) Received: from epsmgec5p1new.samsung.com (unknown [182.195.38.179]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4XdHCQ09zxz4x9Pt; Tue, 29 Oct 2024 17:23:14 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmgec5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 0C.C6.08574.10A11276; Wed, 30 Oct 2024 02:23:13 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20241029163153epcas5p4ab83a94429a227bfc262423aa8a8dd26~C_XrwgEwN0724607246epcas5p4t; Tue, 29 Oct 2024 16:31:53 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20241029163153epsmtrp1abc49daf64e699dcc51eade429bbf1e2~C_XrvkNqd0723107231epsmtrp1I; Tue, 29 Oct 2024 16:31:53 +0000 (GMT) X-AuditID: b6c32a44-6dbff7000000217e-db-67211a01c1bc Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 5D.57.08229.9FD01276; Wed, 30 Oct 2024 01:31:53 +0900 (KST) Received: from localhost.localdomain (unknown [107.99.41.245]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241029163150epsmtip2e9d58917a57d8b477319e04587f76a3d~C_XpbEg7W1012410124epsmtip28; Tue, 29 Oct 2024 16:31:50 +0000 (GMT) From: Anuj Gupta <anuj20.g@samsung.com> To: axboe@kernel.dk, hch@lst.de, kbusch@kernel.org, martin.petersen@oracle.com, asml.silence@gmail.com, anuj1072538@gmail.com, brauner@kernel.org, jack@suse.cz, viro@zeniv.linux.org.uk Cc: io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, gost.dev@samsung.com, linux-scsi@vger.kernel.org, vishak.g@samsung.com, linux-fsdevel@vger.kernel.org, Anuj Gupta <anuj20.g@samsung.com> Subject: [PATCH v5 00/10] Read/Write with meta/integrity Date: Tue, 29 Oct 2024 21:53:52 +0530 Message-Id: <20241029162402.21400-1-anuj20.g@samsung.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: <linux-scsi.vger.kernel.org> List-Subscribe: <mailto:linux-scsi+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-scsi+unsubscribe@vger.kernel.org> MIME-Version: 1.0 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ED1oNTrn4Lzlx9hZwj8bxe0Vdxq/s25x321ZG+ZJ7v7zdDgSnud ffr9Vt3EyTxWpT6eP/a+YtvqLdWj4d67+/eJzRKP5rgX7yqucLf87Ca6R+mQnGvrZZfwm+4f GZ62v5JKvP3tx8qFXx7HfZnSHy2rax6b+v/krmbO6oSV5yxqLePZyu882SDZuH5yZhXrZg3J y7l1DLtanWWu3bwp777QW53vSf/7S6m7JdLavKdlOG0RCly0a2ODEktxRqKhFnNRcSIAWt9X 6wsDAAA= X-CMS-MailID: 20241029163153epcas5p4ab83a94429a227bfc262423aa8a8dd26 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241029163153epcas5p4ab83a94429a227bfc262423aa8a8dd26 References: <CGME20241029163153epcas5p4ab83a94429a227bfc262423aa8a8dd26@epcas5p4.samsung.com> |
Series |
Read/Write with meta/integrity
|
expand
|
On Tue, Oct 29, 2024 at 09:53:59PM +0530, Anuj Gupta wrote: > This patch introduces BIP_CHECK_GUARD/REFTAG/APPTAG bip_flags which > indicate how the hardware should check the integrity payload. > BIP_CHECK_GUARD/REFTAG are conversion of existing semantics, while > BIP_CHECK_APPTAG is a new flag. The driver can now just rely on block > layer flags, and doesn't need to know the integrity source. Submitter > of PI decides which tags to check. This would also give us a unified > interface for user and kernel generated integrity. Looks good. Reviewed-by: Keith Busch <kbusch@kernel.org>
On Tue, Oct 29, 2024 at 09:54:02PM +0530, Anuj Gupta wrote: > From: Kanchan Joshi <joshi.k@samsung.com> > > If an iocb contains metadata, extract that and prepare the bip. > Based on flags specified by the user, set corresponding guard/app/ref > tags to be checked in bip. Looks good. Reviewed-by: Keith Busch <kbusch@kernel.org>