Hongyu Jin 92b3c2437d dm io: Support IO priority
[ Upstream commit 6e5f0f6383b4896c7e9b943d84b136149d0f45e9 ]

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>
Stable-dep-of: b4d78cfeb304 ("dm-integrity: align the outgoing bio in integrity_recheck")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:21:02 -04:00
..
2023-07-19 16:21:11 +02:00
2024-02-23 09:12:48 +01:00
2022-10-10 09:27:46 -07:00
2022-10-07 16:48:26 -07:00
2022-10-07 16:13:55 -07:00
2022-10-10 13:28:06 -07:00
2022-09-21 11:18:28 +09:00
2024-02-23 09:12:51 +01:00
2022-09-26 19:46:29 -07:00
2022-09-26 10:13:13 -07:00
2022-09-26 10:13:13 -07:00
2022-10-14 13:03:00 -07:00
2022-09-26 10:13:14 -07:00
2023-12-20 17:00:20 +01:00
2022-10-10 19:45:17 -07:00
2024-03-26 18:21:02 -04:00
2022-08-08 15:16:29 -07:00
2024-01-10 17:10:30 +01:00
2022-08-07 17:52:35 -07:00
2022-10-03 14:02:45 -07:00
2022-08-16 12:46:26 +02:00
2022-09-01 18:04:43 +02:00
2022-08-11 13:11:49 -07:00
2022-09-08 12:59:00 -06:00
2022-09-26 13:31:20 +02:00
2022-10-03 14:03:19 -07:00
2022-10-03 17:51:52 -07:00
2022-09-26 19:46:18 -07:00
2023-10-10 22:00:35 +02:00
2023-05-30 14:03:22 +01:00
2023-11-20 11:51:55 +01:00
2023-11-20 11:51:50 +01:00
2024-01-25 15:27:20 -08:00
2022-10-03 17:34:32 -07:00
2022-09-26 19:46:27 -07:00
2024-02-05 20:12:55 +00:00
2022-10-04 20:52:38 +02:00
2023-11-28 17:07:03 +00:00
2023-10-19 23:08:50 +02:00
2023-10-19 23:08:50 +02:00
2023-07-19 16:21:54 +02:00
2024-01-31 16:17:04 -08:00
2023-12-13 18:39:08 +01:00
2022-10-10 09:10:28 -07:00
2022-09-07 12:42:25 +01:00
2022-09-29 15:20:29 +02:00
2023-08-16 18:27:20 +02:00
2022-09-22 16:12:34 +02:00
2022-09-22 16:12:34 +02:00
2022-08-31 13:37:32 +02:00
2022-08-28 16:52:28 +01:00
2022-10-07 09:32:40 -04:00
2022-11-10 12:03:36 -07:00
2022-09-26 19:46:18 -07:00
2022-09-26 19:46:18 -07:00