linux/block/blk-mq.c
/**
 * blk_mq_complete_request - end I/O on a request
 * @rq:		the request being processed
 *
 * Description:
 *	Ends all I/O on a request. It does not handle partial completions.
 *	The actual completion happens out-of-order, through a IPI handler.
 **/
end I/O on a request
@rq:         the request being processed

Ends all I/O on a request. It does not handle partial completions.
The actual completion happens out-of-order, through a IPI handler.
end I / O on a request @rq : the request being processed Ends all I / O on a request . It does not handle partial completions . The actual completion happens out - of - order through a IPI handler .
void blk_mq_complete_request(struct request *rq)
{
	if (unlikely(blk_should_fake_timeout(rq->q)))
		return;
	__blk_mq_complete_request(rq);
}
void blk_mq_complete_request ( struct request * rq ) { if ( unlikely ( blk_should_fake_timeout ( rq -> q ) ) ) return ; __blk_mq_complete_request ( rq ) ; }
blk_mq_complete_request - end I/O on a request
 @rq:         the request being processed
blk_mq_complete_request - end I / O on a request @rq : the request being processed