Re: [PATCH 2/6] blk-mq: replace timeout synchronization with a RCU and generation based scheme

From: tj@xxxxxxxxxx
Date: Fri Dec 15 2017 - 08:30:56 EST


Hello, Bart.

On Thu, Dec 14, 2017 at 09:13:32PM +0000, Bart Van Assche wrote:
...
> however is called before a every use of a request. Sorry but I'm not
> enthusiast about the code in blk_rq_init() that reinitializes state
> information that should survive request reuse.

If it wasn't clear, me neither. I think what'd be better is making
those paths use the usual request allocation path instead of custom
one but for flush handling, that's not gonna be trivial, so let's deal
with that later.

Thanks.

--
tejun