Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752560AbdGYOrs (ORCPT ); Tue, 25 Jul 2017 10:47:48 -0400 Received: from mail-io0-f170.google.com ([209.85.223.170]:36452 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752400AbdGYOrq (ORCPT ); Tue, 25 Jul 2017 10:47:46 -0400 Subject: Re: bfq/ext4 disk IO hangs forever on resume To: Jan Kara , Alex Xu Cc: linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, Paolo Valente , linux-block@vger.kernel.org References: <20170625230756.68b4de21.alex_y_xu@yahoo.ca> <20170725085128.GA20040@quack2.suse.cz> From: Jens Axboe Message-ID: <6c2bd97a-455e-8078-9441-cb53a7f7fa60@kernel.dk> Date: Tue, 25 Jul 2017 08:47:43 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170725085128.GA20040@quack2.suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 32 On 07/25/2017 02:51 AM, Jan Kara wrote: > Hello, > > On Sun 25-06-17 23:07:56, Alex Xu wrote: >> I get hangs when resuming when using bfq-mq with ext4 on 4.12-rc6+ >> (currently a4fd8b3accf43d407472e34403d4b0a4df5c0e71). >> >> Steps to reproduce: >> 1. boot computer >> 2. systemctl suspend >> 3. wait few seconds >> 4. press power button >> 5. type "ls" into console or SSH or do anything that does disk IO >> >> Expected results: >> Command is executed. >> >> Actual results: >> Command hangs. >> >> lockdep has no comments, but sysrq-d shows that i_mutex_dir_key and >> jbd2_handle are held by multiple processes, leading me to suspect that >> ext4 is at least partially involved. [0] > > Can you still reproduce this? Can you try with this patch added: http://git.kernel.dk/cgit/linux-block/commit/?h=for-linus&id=765e40b675a9566459ddcb8358ad16f3b8344bbe -- Jens Axboe