Thread (23 messages) 23 messages, 8 authors, 2025-06-04

Re: [PATCH v11 07/10] block: introduce BIP_CHECK_GUARD/REFTAG/APPTAG bip_flags

From: Christoph Hellwig <hch@lst.de>
Date: 2025-02-05 15:42:18
Also in: io-uring, linux-fsdevel, linux-nvme, linux-scsi

On Wed, Feb 05, 2025 at 05:21:34PM +0530, Anuj Gupta wrote:
On Tue, Feb 04, 2025 at 06:39:14AM +0100, Christoph Hellwig wrote:
quoted
On Mon, Feb 03, 2025 at 08:09:48PM +0530, Anuj Gupta wrote:
quoted
+	if (bi->csum_type == BLK_INTEGRITY_CSUM_IP)
+		bip->bip_flags |= BIP_IP_CHECKSUM;
We'll also need to set the BIP_CHECK_GUARD flag here I think.
Right, I think this patch should address the problem [*]
I couldn't test this patch, as nvme-tcp doesn't support T10-PI and so
does rdma_rxe. I don't have rdma h/w to test this.
It would be great if someone can give this a run.
I'll add support to nvmet-loop, which should make testing either.

Note that the SCSI target code has the same issues and might be a
little easier to test.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help