summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2026-01-06 13:08:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-17 16:35:28 +0100
commit6c0d642e8c589bf4ca64b4f4abe1bfe1b9c9be10 (patch)
tree72df6a98665f448d54bd2a5ec874b94102fc2bc8 /include/net/aligned_data.h
parent086e2928c1dacc2840d63eccabcfb557997695e6 (diff)
block: don't merge bios with different app_tags
[ Upstream commit 6acd4ac5f8f0ec9b946875553e52907700bcfc77 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions