Re: [PATCH v2 3/6] block: add iopoll method to support bio-based IO polling

From
Christoph Hellwig <hch@infradead.org>
Date
2021-01-28 08:42:04
Also in
dm-devel, io-uring
Reply to
Jeffle Xu, 2021-01-26
On Mon, Jan 25, 2021 at 08:13:37PM +0800, Jeffle Xu wrote:
+int blk_poll(struct request_queue *q, blk_qc_t cookie, bool spin)
Can you split the guts of this function into two separate helpers
for the mq vs non-mq case?  As is is is a little hard to read and
introduced extra branches in the fast path.
Thread (17 messages) 17 messages, 3 authors, last reply 2021-01-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help