Re: [PATCH] ublk_drv: fix request queue leak

Christoph Hellwig
2022-07-14T13:24:53Z

On Thu, Jul 14, 2022 at 07:14:52AM -0600, Jens Axboe wrote:
> >> - blk_cleanup_queue(ub->ub_queue);
> >> + blk_put_queue(ub->ub_queue);
> >
> > I guess you run test on for-next, and it should work by just replacing
> > two blk_cleanup_queue with blk_mq_destroy_queue().
>
> Ah yes, that does the trick. I think I'll migrate the driver to the core
> branch instead to avoid these issues.

Please drop it for now. It's pretty clear it did not have enough
review yet. I'll try to allocate some time today or tomorrow to
go through it.