Commit 21bc63de authored by Hongyu Jin's avatar Hongyu Jin Committed by Treehugger Robot
Browse files

BACKPORT: dm-verity: Fix IO priority lost when reading FEC and hash



After obtaining the data, verification or error correction process may
trigger a new IO that loses the priority of the original IO, that is,
the verification of the higher priority IO may be blocked by the lower
priority IO.

Make the IO used for verification and error correction follow the
priority of the original IO.

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>

Bug: 331551156
(cherry picked from commit d95e2c34)
Change-Id: Icff8baf2a686597be0496e779a4981ecbaf00ec2
Signed-off-by: default avatarHongyu Jin <hongyu.jin@unisoc.com>
parent a6ac2684
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment