Re: I/O hangs after resuming from suspend-to-ram

Ming Lei
2017-08-30T14:38:45Z

Hi,

On Wed, Aug 30, 2017 at 12:58:21PM +0200, oleksandr@natalenko.name wrote:
> Hi.
>
> So, current summary:
>
> 1) first patch + debug patch: I can reproduce the issue in wild, but not
> with pm_test set;

That is interesting, since I always test via pm_test.

> 2) first patch + debug patch + second patch: I cannot reproduce issue at
> all, neither with "none", nor with "mq-deadline".
>
> Thus, "blk-mq: align to legacy path for implementing blk_execute_rq" +
> "blk-mq: add requests in the tail of hctx->dispatch" look like a proper fix.
> Thanks for that!

That is great, will prepare a formal one for merge.

>
> > I setup dm-crypt on /dev/md0 directly, could you show me how to setup
> > lvm on raid10?
>
> If still relevant, here is a layout:

Looks not relevant, just because I use pm_test.

>
> ===
> sda 8:0 0 8G 0 disk
> |-sda1 8:1 0 128M 0 part /boot/EFI
> `-sda2 8:2 0 7.9G 0 part
> `-md0 9:0 0 7.9G 0 raid10
> `-system-root 253:0 0 7.9G 0 lvm /
> sdb 8:16 0 8G 0 disk
> |-sdb1 8:17 0 128M 0 part
> `-sdb2 8:18 0 7.9G 0 part
> `-md0 9:0 0 7.9G 0 raid10
> `-system-root 253:0 0 7.9G 0 lvm /
> ===
>
> Anything else you'd like /me to test?

You have done enough, thanks a lot for your report and test!

--
Ming