Thread (18 messages) flat view 18 messages, 2 authors, 2021-11-04

Re: [PATCH 1/4] block: have plug stored requests hold references to the queue

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-11-04 09:01:36

quoted hunk ↗ jump to hunk
@@ -1643,7 +1643,7 @@ void blk_flush_plug(struct blk_plug *plug, bool from_schedule)
 		flush_plug_callbacks(plug, from_schedule);
 	if (!rq_list_empty(plug->mq_list))
 		blk_mq_flush_plug_list(plug, from_schedule);
-	if (unlikely(!from_schedule && plug->cached_rq))
+	if (unlikely(!rq_list_empty(plug->cached_rq)))
How is this related to the rest of the patch?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help