mbox series

[V2,0/6] Some cleanups for blk-core.c and blk-flush.c

Message ID 20200309214138.30770-1-guoqing.jiang@cloud.ionos.com (mailing list archive)
Headers show
Series Some cleanups for blk-core.c and blk-flush.c | expand

Message

Guoqing Jiang March 9, 2020, 9:41 p.m. UTC
V2:

* collected Reviewed-by tags for some patches.
* remove __blk_rq_prep_clone and move the impletation to the only caller.

V1:

Hi,

This patchset updates code and comment in blk-core.c and blk-flush.c.
The first patch had been sent before, now update it with the Reviewed-by
tag from Bart.

Thanks,
Guoqing

Guoqing Jiang (6):
  block: fix comment for blk_cloned_rq_check_limits
  block: use bio_{wouldblock,io}_error in direct_make_request
  block: remove redundant setting of QUEUE_FLAG_DYING
  block: cleanup for _blk/blk_rq_prep_clone
  block: remove unneeded argument from blk_alloc_flush_queue
  block: cleanup comment for blk_flush_complete_seq

 block/blk-core.c  | 38 +++++++++++++-------------------------
 block/blk-flush.c |  7 ++-----
 block/blk-mq.c    |  3 +--
 block/blk.h       |  4 ++--
 4 files changed, 18 insertions(+), 34 deletions(-)

Comments

Jens Axboe March 12, 2020, 1:43 p.m. UTC | #1
On 3/9/20 3:41 PM, Guoqing Jiang wrote:
> V2:
> 
> * collected Reviewed-by tags for some patches.
> * remove __blk_rq_prep_clone and move the impletation to the only caller.
> 
> V1:
> 
> Hi,
> 
> This patchset updates code and comment in blk-core.c and blk-flush.c.
> The first patch had been sent before, now update it with the Reviewed-by
> tag from Bart.

Applied for 5.7, thanks.