Skip to content
Commit 92b3c243 authored by Hongyu Jin's avatar Hongyu Jin Committed by Sasha Levin
Browse files

dm io: Support IO priority

[ Upstream commit 6e5f0f63

 ]

Some IO will dispatch from kworker with different io_context settings
than the submitting task, we may need to specify a priority to avoid
losing priority.

Add IO priority parameter to dm_io() and update all callers.

Co-developed-by: default avatarYibin Ding <yibin.ding@unisoc.com>
Signed-off-by: default avatarYibin Ding <yibin.ding@unisoc.com>
Signed-off-by: default avatarHongyu Jin <hongyu.jin@unisoc.com>
Reviewed-by: default avatarEric Biggers <ebiggers@google.com>
Reviewed-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
Stable-dep-of: b4d78cfe

 ("dm-integrity: align the outgoing bio in integrity_recheck")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d0980ed8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment