Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751456AbdH3K63 (ORCPT ); Wed, 30 Aug 2017 06:58:29 -0400 Received: from vulcan.natalenko.name ([104.207.131.136]:55190 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751263AbdH3K60 (ORCPT ); Wed, 30 Aug 2017 06:58:26 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 vulcan.natalenko.name 10A8C23E882 Authentication-Results: vulcan.natalenko.name; dmarc=fail (p=none dis=none) header.from=natalenko.name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 30 Aug 2017 12:58:21 +0200 From: oleksandr@natalenko.name To: Ming Lei 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 In-Reply-To: <20170830080628.GA2402@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> Message-ID: User-Agent: Roundcube Webmail/1.3.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=arc-20170712; t=1504090704; h=from:subject:date:message-id:to:cc:mime-version:content-type:content-transfer-encoding:in-reply-to:references; bh=2yJKTn/6it5SEdtak5+G3j1fn5SIBM6XsXymJo4/pSw=; b=hGzn54mATu9extVzXgOvAReGWhSlMMP8dVtQ0kNgSGnN0wWzE9gOcUVxca5LM99TaKU1WW rpmVaO4zmaBhSfh1mxrB3U/KvWKm1M6DXME4rzE/Lu6GVjSIHhExQea/GtYF/z0vMR5ZC6 WjX4zf7OvAJOQ6eaiUHDhCW6oDDUO7Y= ARC-Seal: i=1; s=arc-20170712; d=natalenko.name; t=1504090704; a=rsa-sha256; cv=none; b=ASnStWqYvYNX44cgXVrZfY9dBpAJd418E43PeMVfcg4D/f61ji8bfDOzbaTNECR4rEsR468bohpL9rnvatctRQNXXGdUrD9DevqZDyjXDcv6a9izZ7i5nz460HJUhtyH6d6nZY5AsYIExumUQeLsjPCYo/p/SV9yB/XSViFadxk= ARC-Authentication-Results: i=1; auth=pass smtp.auth=oleksandr@natalenko.name smtp.mailfrom=oleksandr@natalenko.name Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 38 Hi. So, current summary: 1) first patch + debug patch: I can reproduce the issue in wild, but not with pm_test set; 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! > 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: === 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? 30.08.2017 10:06, Ming Lei написав: > …SNIP… > Please try the following patch and previous patch together and see > if they make a difference: > …SNIP…