mbox series

[0/3] blk-mq: driver tag related cleanup

Message ID 20200630022356.2149607-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series blk-mq: driver tag related cleanup | expand

Message

Ming Lei June 30, 2020, 2:23 a.m. UTC
Hi Jens,

The 1st & 2nd patch moves get/put driver tag helpers into blk-mq.c, and
the 3rd patch centralise related handling into blk_mq_get_driver_tag,
so both flush & blk-mq code get simplified.

Ming Lei (3):
  blk-mq: move blk_mq_get_driver_tag into blk-mq.c
  blk-mq: move blk_mq_put_driver_tag() into blk-mq.c
  blk-mq: centralise related handling into blk_mq_get_driver_tag

 block/blk-flush.c  | 13 +++------
 block/blk-mq-tag.c | 58 --------------------------------------
 block/blk-mq-tag.h | 41 +++++++++++++++++----------
 block/blk-mq.c     | 69 ++++++++++++++++++++++++++++++++++++++--------
 block/blk-mq.h     | 20 --------------
 block/blk.h        |  5 ----
 6 files changed, 88 insertions(+), 118 deletions(-)

Cc: Christoph Hellwig <hch@infradead.org>