BACKPORT: dm-io: Support IO priority
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:Yibin Ding <yibin.ding@unisoc.com> Signed-off-by:
Yibin Ding <yibin.ding@unisoc.com> Signed-off-by:
Hongyu Jin <hongyu.jin@unisoc.com> Reviewed-by:
Eric Biggers <ebiggers@google.com> Reviewed-by:
Mikulas Patocka <mpatocka@redhat.com> Signed-off-by:
Mike Snitzer <snitzer@kernel.org> Bug: 331551156 Bug: 336946548 (cherry picked from commit 6e5f0f63) [Hongyu: Rewrite the patch ] Change-Id: I366bd02d1eb9b41bb13a2d9cc985f9ab278973c1 Signed-off-by:
Hongyu Jin <hongyu.jin@unisoc.com>
Loading
Please sign in to comment