Re: 4.13 breaks suspend to ram wakeup

From: Norbert Preining
Date: Wed Sep 20 2017 - 12:55:14 EST


Dear all,

thanks for the quick feedback.

On Wed, 20 Sep 2017, Ming Lei wrote:
> Looks your issue is very similar with Oleksandr's report:

Indeed, I am using dm-crypt (full disk encryption) and
CONFIG_DEFAULT_IOSCHED="cfq"
Any suggestion what should be selected instead?

> And Oleksandr tested the following patchset can fix his issue:
> https://marc.info/?l=linux-block&m=150579298505484&w=2

Do you have a patch against 4.13? I tried applying the following
patches from git format-patch ebb2c2437d8008d467969
0001-blk-mq-only-run-hw-queues-for-blk-mq.patch
0002-block-tracking-request-allocation-with-q_usage_count.patch
0003-blk-mq-rename-blk_mq_-freeze-unfreeze-_queue.patch
0004-blk-mq-rename-blk_mq_freeze_queue_wait-as-blk_freeze.patch
0005-block-rename-.mq_freeze_wq-and-.mq_freeze_depth.patch
0006-block-pass-flags-to-blk_queue_enter.patch
0007-block-introduce-preempt-version-of-blk_-freeze-unfre.patch
0008-block-allow-to-allocate-req-with-RQF_PREEMPT-when-qu.patch
0009-SCSI-transport_spi-resume-a-quiesced-device.patch
0010-SCSI-preempt-freeze-block-queue-when-SCSI-device-is-.patch
to current 4.13, but without success.
(I don't want to play with .14-pre kernels by now.)

Thanks a lot and all the best

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13