Re: [PATCH v4 1/5] blk-mq: introduce blk_mq_set_request_complete

From
Christoph Hellwig <hch@lst.de>
Date
2021-01-27 16:42:17
Also in
linux-nvme
Reply to
Chao Leng, 2021-01-26
quoted hunk ↗ jump to hunk
+static inline void blk_mq_set_request_complete(struct request *rq)
+{
+	WRITE_ONCE(rq->state, MQ_RQ_COMPLETE);
+}
This function needs a detailed comment explaining the use case.
Otherwise we'll get lots of driver abuses.
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