Commit 2a8fbb97 authored by Bart Van Assche's avatar Bart Van Assche Committed by Daniel Rosenberg
Browse files

UPSTREAM: block/mq-deadline: Add an invariant check



Check a statistics invariant at module unload time. When running
blktests, the invariant is verified every time a request queue is
removed and hence is verified at least once per test.

Bug: 293845137
(cherry picked from commit 32f64cad)
Reviewed-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: default avatarNiklas Cassel <Niklas.Cassel@wdc.com>
Cc: Hannes Reinecke <hare@suse.de>
Change-Id: I9bff99de736f0b18a49be9512d9123bf50a82fac
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20210927220328.1410161-3-bvanassche@acm.org


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