Skip to content
Snippets Groups Projects
Commit 25474d90 authored by Keith Busch's avatar Keith Busch Committed by Kevin Wolf
Browse files

block: use the request length for iov alignment


An iov length needs to be aligned to the logical block size, which may
be larger than the memory alignment.

Tested-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
Message-Id: <20220929200523.3218710-3-kbusch@meta.com>
Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent a7c5f67a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment