Re: [PATCH] blk-mq: make sure active queue usage is held for bio_integrity_prep()

Christoph Hellwig
2023-11-09T14:34:24Z

On Thu, Nov 09, 2023 at 04:11:52PM +0800, Ming Lei wrote:
> > > if (blk_mq_attempt_bio_merge(q, bio, nsegs))
> > > - goto queue_exit;
> > > + return NULL;
> > >
> > > rq_qos_throttle(q, bio);
> >
> > For clarity splitting this out might be a bit more readable.
>
> I'd rather not do too many things in single fix, which need backport,
> but I am fine to do it in following cleanup.

The resulting diff is smaller..