# 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 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/01/6400562
- Thread: https://ratatoskr.run/linux-nvme/2021/01/6400526/t.md

```text
> +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.
```
