Re: blk-mq breaks suspend even with runtime PM patch

From: Oleksandr Natalenko
Date: Tue Aug 08 2017 - 12:36:08 EST


Could you queue "block: disable runtime-pm for blk-mq" too please? It is also
related to suspend-resume freezes that were observed by multiple users.

Thanks.

On Ãterà 8. srpna 2017 18:33:29 CEST Jens Axboe wrote:
> On 08/08/2017 10:22 AM, Greg KH wrote:
> > On Sun, Jul 30, 2017 at 03:50:15PM +0200, Oleksandr Natalenko wrote:
> >> Hello Mike et al.
> >>
> >> On nedÄle 30. Äervence 2017 7:12:31 CEST Mike Galbraith wrote:
> >>> FWIW, first thing I'd do is update that 4.12.0 to 4.12.4, and see if
> >>> stable fixed it.
> >>
> >> My build already includes v4.12.4.
> >>
> >>> If not, I'd find these two commits irresistible.
> >>>
> >>> 5f042e7cbd9eb blk-mq: Include all present CPUs in the default queue
> >>> mapping
> >>> 4b855ad37194f blk-mq: Create hctx for each present CPU
> >>
> >> I've applied these 2 commits, and cannot reproduce the issue anymore.
> >> Looks
> >> like a perfect hit, thanks!
> >>
> >>> 'course applying random upstream bits does come with some risk, trying
> >>> a kernel already containing them has less "entertainment" potential.
> >>
> >> Should you consider applying them to v4.12.x stable series? CC'ing Greg
> >> just in case.
> >
> > I can queue these up if I get an ack from the developers/maintainers
> > that it is ok to do so...
>
> You can add those two commits to stable.