diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2026-01-06 13:08:37 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-06 19:10:08 -0700 |
| commit | 6acd4ac5f8f0ec9b946875553e52907700bcfc77 (patch) | |
| tree | fb8df3bee395c8d23df3fc71181be67b2e7a45a8 /include/uapi/linux | |
| parent | 7d121d701d58a92f26decb10da1d04a88b74519d (diff) | |
block: don't merge bios with different app_tags
nvme_set_app_tag() uses the app_tag value from the bio_integrity_payload
of the struct request's first bio. This assumes all the request's bios
have the same app_tag. However, it is possible for bios with different
app_tag values to be merged into a single request.
Add a check in blk_integrity_merge_{bio,rq}() to prevent the merging of
bios/requests with different app_tag values if BIP_CHECK_APPTAG is set.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Fixes: 3d8b5a22d404 ("block: add support to pass user meta buffer")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
