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