linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] some random cleanups for blk-mq.c
@ 2022-11-02  3:06 Jinlong Chen
  2022-11-02  3:06 ` [PATCH v3 1/2] blk-mq: improve error handling in blk_mq_alloc_rq_map() Jinlong Chen
  2022-11-02  3:06 ` [PATCH v3 2/2] blk-mq: use if-else instead of goto in blk_mq_alloc_cached_request() Jinlong Chen
  0 siblings, 2 replies; 7+ messages in thread
From: Jinlong Chen @ 2022-11-02  3:06 UTC (permalink / raw)
  To: axboe; +Cc: hch, chaitanyak, linux-block, linux-kernel, nickyc975

Patch 1 improves the error handling blk_mq_alloc_rq_map(). Patch 2
improves readability of blk_mq_alloc_cached_request().

Changes in v3:
- add Reviewed-by: tag from Christoph

Changes in v2:
- drop wrong and worthless patches, suggested by Christoph, Jens and
  Chaitanya
- remove silly goto-return-NULL in patch 1 (patch 2 originally), suggested
  by Christoph and Jens

Jinlong Chen (2):
  blk-mq: improve error handling in blk_mq_alloc_rq_map()
  blk-mq: use if-else instead of goto in blk_mq_alloc_cached_request()

 block/blk-mq.c | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-11-02  6:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-02  3:06 [PATCH v3 0/2] some random cleanups for blk-mq.c Jinlong Chen
2022-11-02  3:06 ` [PATCH v3 1/2] blk-mq: improve error handling in blk_mq_alloc_rq_map() Jinlong Chen
2022-11-02  5:45   ` Chaitanya Kulkarni
2022-11-02  6:59   ` Christoph Hellwig
2022-11-02  3:06 ` [PATCH v3 2/2] blk-mq: use if-else instead of goto in blk_mq_alloc_cached_request() Jinlong Chen
2022-11-02  5:46   ` Chaitanya Kulkarni
2022-11-02  6:59   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).