# Re: \[PATCH v4 1/5\] blk-mq: introduce blk\_mq\_set\_request\_complete

- From: Chao Leng \<hidden\>
- Date: 2021-01-28 01:35:41 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/01/6400572
- Thread: https://ratatoskr.run/linux-nvme/2021/01/6400526/t.md

```text


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