if (arq) { if (arq->state == AS_RQ_REMOVED) { arq->state = AS_RQ_DISPATCHED; if (arq->io_context && arq->io_context->aic) atomic_inc(&arq->io_context->aic->nr_dispatched); } } else WARN_ON(blk_fs_request(rq) && (!(rq->flags & (REQ_HARDBARRIER|REQ_SOFTBARRIER))) );   as_antic_stop(ad);
WARN_ON(arq->state != AS_RQ_REMOVED); arq->state = AS_RQ_DISPATCHED; if (arq->io_context && arq->io_context->aic) atomic_inc(&arq->io_context->aic->nr_dispatched);
static void as_deactivate_request(request_queue_t *q, struct request *rq){	struct as_data *ad = q->elevator->elevator_data;	struct as_rq *arq = RQ_DATA(rq);	if (arq) {		if (arq->state == AS_RQ_REMOVED) {			arq->state = AS_RQ_DISPATCHED;			if (arq->io_context && arq->io_context->aic)				atomic_inc(&arq->io_context->aic->nr_dispatched);		}	} else		WARN_ON(blk_fs_request(rq)			&& (!(rq->flags & (REQ_HARDBARRIER|REQ_SOFTBARRIER))) );	/* Stop anticipating - let this request get through */	as_antic_stop(ad);}