[PATCH v2 0/2] Simplify blk_mq_in_flight*
From: Pavel Begunkov (Silence)
Date: Mon Sep 30 2019 - 16:40:29 EST
From: Pavel Begunkov <asml.silence@xxxxxxxxx>
Clean up inflight counting code. Deduplicate it and fortify with types.
v2: splitting the patch in two by Christoph suggestion
Pavel Begunkov (2):
blk-mq: Reuse callback in blk_mq_in_flight*()
blk-mq: Embed counters into struct mq_inflight
block/blk-mq.c | 32 ++++++++------------------------
1 file changed, 8 insertions(+), 24 deletions(-)
--
2.23.0