Thread (37 messages) 37 messages, 6 authors, 2018-11-21

Re: [PATCH 6/7] block: prevent merging of requests with different priorities

From: Christoph Hellwig <hch@infradead.org>
Date: 2018-11-19 18:42:11
Also in: linux-fsdevel

+	/*
+	 * Don't allow merge of different I/O priorities.
+	 */
+	if (req->ioprio != next->ioprio)
+		return NULL;
+	/*
+	 * Don't allow merge of different I/O priorities.
+	 */
+	if (rq->ioprio != bio_prio(bio))
+		return false;
+
These comments just restate what is obvious in the code.  I would
recommend to drop them.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help