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

From
Chao Leng <hidden>
Date
2021-01-28 01:35:41
Also in
linux-nvme
Reply to
Christoph Hellwig, 2021-01-27

On 2021/1/28 0:40, Christoph Hellwig wrote:
quoted
+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.
ok, thanks.
.
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