mbox series

[v2,0/2] Simplify blk_mq_in_flight*

Message ID cover.1569868094.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series Simplify blk_mq_in_flight* | expand

Message

Pavel Begunkov Sept. 30, 2019, 6:55 p.m. UTC
From: Pavel Begunkov <asml.silence@gmail.com>

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(-)

Comments

Jens Axboe Oct. 2, 2019, 3:40 a.m. UTC | #1
On 9/30/19 12:55 PM, Pavel Begunkov (Silence) wrote:
> From: Pavel Begunkov <asml.silence@gmail.com>
> 
> Clean up inflight counting code. Deduplicate it and fortify with types.
> 
> v2: splitting the patch in two by Christoph suggestion

Looks good, applied, thanks.