From: Jinlong Chen <nickyc975@zju.edu.cn>
To: axboe@kernel.dk
Cc: hch@lst.de, chaitanyak@nvidia.com, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org, nickyc975@zju.edu.cn
Subject: [PATCH v3 0/2] some random cleanups for blk-mq.c
Date: Wed, 2 Nov 2022 11:06:03 +0800 [thread overview]
Message-ID: <cover.1667358114.git.nickyc975@zju.edu.cn> (raw)
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
next reply other threads:[~2022-11-02 3:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-02 3:06 Jinlong Chen [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1667358114.git.nickyc975@zju.edu.cn \
--to=nickyc975@zju.edu.cn \
--cc=axboe@kernel.dk \
--cc=chaitanyak@nvidia.com \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome