Commit 3d6106ae authored by Chenliang Li's avatar Chenliang Li Committed by Jens Axboe
Browse files

io_uring/rsrc: store folio shift and mask into imu



Store the folio shift and folio mask into imu struct and use it in
iov_iter adjust, as we will have non PAGE_SIZE'd chunks if a
multi-hugepage buffer get coalesced.

Signed-off-by: default avatarChenliang Li <cliang01.li@samsung.com>
Reviewed-by: default avatarAnuj Gupta <anuj20.g@samsung.com>
Reviewed-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/20240731090133.4106-2-cliang01.li@samsung.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d843634a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment