Thread (13 messages) 13 messages, 2 authors, 2022-02-09

Re: [RFC PATCH 1/7] block: move submit_bio_checks() into submit_bio_noacct

From: Christoph Hellwig <hch@infradead.org>
Date: 2022-01-17 08:20:19

On Tue, Jan 11, 2022 at 07:55:26PM +0800, Ming Lei wrote:
It is more clean & readable to check bio when starting to submit it,
instead of just before calling ->submit_bio() or blk_mq_submit_bio().

Also it provides us chance to optimize bio submission without checking
bio.
This looks ok, but I'd just remove submit_bio_checks entirely while
we're at it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help