Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751463AbdH3Oip (ORCPT ); Wed, 30 Aug 2017 10:38:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37416 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbdH3Oin (ORCPT ); Wed, 30 Aug 2017 10:38:43 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 2370313A94 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=ming.lei@redhat.com Date: Wed, 30 Aug 2017 22:37:58 +0800 From: Ming Lei To: oleksandr@natalenko.name Cc: Jens Axboe , Christoph Hellwig , linux-block@vger.kernel.org, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, Shaohua Li Subject: Re: I/O hangs after resuming from suspend-to-ram Message-ID: <20170830143752.GA14684@ming.t460p> References: <3926917.BCSovyVWdL@natalenko.name> <1615033.Xza1AIGLzP@natalenko.name> <20170829002425.GA28904@ming.t460p> <2329566.kid2YYBOAQ@natalenko.name> <20170830021537.GA4897@ming.t460p> <20170830051725.GA5840@ming.t460p> <692537117e26fe71b5e07cd8c86b38e4@natalenko.name> <20170830080628.GA2402@ming.t460p> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 30 Aug 2017 14:38:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1413 Lines: 50 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