Re: [PATCH 7/8] blk-mq: remove REQ_ATOM_STARTED
From: Bart Van Assche
Date: Mon Jan 08 2018 - 18:47:18 EST
On Mon, 2018-01-08 at 11:15 -0800, Tejun Heo wrote:
> After the recent updates to use generation number and state based
> synchronization, we can easily replace REQ_ATOM_STARTED usages by
> adding an extra state to distinguish completed but not yet freed
> state.
>
> Add MQ_RQ_COMPLETE and replace REQ_ATOM_STARTED usages with
> blk_mq_rq_state() tests. REQ_ATOM_STARTED no longer has any users
> left and is removed.
Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>