On 8/17/21 6:09 PM, Ming Lei wrote: > +bool is_flush_rq(struct request *rq) > +{ > + return rq->end_io == flush_end_io; > +} My understanding is that calling is_flush_rq() is only safe if the caller guarantees that the request refcount >= 1. How about adding a comment that explains this? Thanks, Bart.