mbox series

[0/2] blk-mq: cleaup code and update comment

Message ID 20190324095708.77658-1-yuyufen@huawei.com (mailing list archive)
Headers show
Series blk-mq: cleaup code and update comment | expand

Message

Yufen Yu March 24, 2019, 9:57 a.m. UTC
Hi,

This patchset replace blk_mq_put_driver_tag_hctx() by blk_mq_put_driver_tag(),
and update comment for blk_mq_hctx_has_pending().

Yufen Yu (2):
  blk-mq: use blk_mq_put_driver_tag() to put tag
  blk-mq: update comment for blk_mq_hctx_has_pending()

 block/blk-flush.c | 4 ++--
 block/blk-mq.c    | 3 ++-
 block/blk-mq.h    | 9 ---------
 3 files changed, 4 insertions(+), 12 deletions(-)

Comments

Jens Axboe March 24, 2019, 4:25 p.m. UTC | #1
On 3/24/19 3:57 AM, Yufen Yu wrote:
> Hi,
> 
> This patchset replace blk_mq_put_driver_tag_hctx() by blk_mq_put_driver_tag(),
> and update comment for blk_mq_hctx_has_pending().

Both look good to me, and it's nice to get rid of the _hctx() tag put variant.