Skip to content

blk-integrity: support arbitrary buffer alignment#588

Open
blktests-ci[bot] wants to merge 1 commit intolinus-master_basefrom
series/1056653=>linus-master
Open

blk-integrity: support arbitrary buffer alignment#588
blktests-ci[bot] wants to merge 1 commit intolinus-master_basefrom
series/1056653=>linus-master

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Feb 23, 2026

Pull request for series with
subject: blk-integrity: support arbitrary buffer alignment
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1056653

@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 23, 2026

Upstream branch: 6de23f8
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 25, 2026

Upstream branch: 7dff99b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from b412689 to 9c4134d Compare February 25, 2026 11:16
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from c475e20 to 14f6b99 Compare February 27, 2026 16:24
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 27, 2026

Upstream branch: a75cb86
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 9c4134d to 19e64d2 Compare February 27, 2026 16:26
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 14f6b99 to 856dc37 Compare February 27, 2026 22:07
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 27, 2026

Upstream branch: 4d349ee
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 19e64d2 to 551fcd3 Compare February 27, 2026 22:09
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 856dc37 to 40967f0 Compare March 2, 2026 09:22
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 2, 2026

Upstream branch: 11439c4
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 551fcd3 to b689ffa Compare March 2, 2026 09:24
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 40967f0 to d4e9bad Compare March 2, 2026 23:54
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 2, 2026

Upstream branch: af4e9ef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from b689ffa to 800339e Compare March 2, 2026 23:56
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from d4e9bad to ecd10e2 Compare March 4, 2026 07:44
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: af4e9ef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from ecd10e2 to d0e1bed Compare March 4, 2026 07:45
@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 800339e to 9202378 Compare March 4, 2026 07:45
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from d0e1bed to 6b51c57 Compare March 4, 2026 09:34
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: 0031c06
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 9202378 to 0183668 Compare March 4, 2026 09:46
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 6b51c57 to 78036b2 Compare March 4, 2026 19:57
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: ecc64d2
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 0183668 to 7c7eab7 Compare March 4, 2026 20:08
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 78036b2 to bbb3394 Compare March 5, 2026 12:20
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: c107785
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 7c7eab7 to 6de080f Compare March 5, 2026 12:31
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from bbb3394 to 901a429 Compare March 5, 2026 21:37
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: 5ee8dbf
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 6de080f to 00c1d08 Compare March 5, 2026 21:48
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 901a429 to 1f19ba6 Compare March 10, 2026 06:29
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 10, 2026

Upstream branch: 1f318b9
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from 00c1d08 to b87ce81 Compare March 10, 2026 06:40
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 1f19ba6 to e79276a Compare March 11, 2026 08:02
A bio segment may have partial interval block data with the rest
continuing into the next segments because direct-io data payloads only
need to align in memory to the device's DMA limits.

At the same time, the protection information may also be split in
multiple segments. The most likely way that may happen is if two
requests merge, or if we're directly using the io_uring user metadata.
The generate/verify, however, only ever accessed the first bip_vec.

Further, it may be possible to unalign the protection fields from the
user space buffer, or if there are odd additional opaque bytes in front
or in back of the protection information metadata region.

Change up the iteration to allow spanning multiple segments. This patch
is mostly a re-write of the protection information handling to allow any
arbitrary alignments, so it's probably easier to review the end result
rather than the diff.

Many controllers are not able to handle interval data composed of
multiple segments when PI is used, so this patch introduces a new
integrity limit that a low level driver can set to notify that it is
capable, default to false. The nvme driver is the first one to enable it
in this patch. Everyone else will force DMA alignment to the logical
block size as before to ensure interval data is always aligned within a
single segment.

Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 11, 2026

Upstream branch: None
series: https://patchwork.kernel.org/project/linux-block/list/?series=1056653
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1056653=>linus-master branch from b87ce81 to 259c252 Compare March 11, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant