From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B48C6C433E0 for ; Thu, 2 Jul 2020 11:52:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9430C2070C for ; Thu, 2 Jul 2020 11:52:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="KkogLLLn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728808AbgGBLwd (ORCPT ); Thu, 2 Jul 2020 07:52:33 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:40872 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728668AbgGBLwc (ORCPT ); Thu, 2 Jul 2020 07:52:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593690751; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zCfTmJvRvO6CmeTx04OXe3MzPNsYUP6t2rORmnve7mw=; b=KkogLLLnPd13ZrsoYMsbpHYGxSFySQvUijCzys3sp0Anitwpv95iHZa+RJAxyjyfYwjMjP fL515gEqq46BrogItfGajdqNp4bIWtrPI+iTMUY8/Xphva5FgIMM5aE044NFgUorgTqCSr Hi9I9KHPf9OFtT13xe/wfKfjd1x9uRU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-67-VkoWzKWTMUm8cmAlHO47XQ-1; Thu, 02 Jul 2020 07:52:27 -0400 X-MC-Unique: VkoWzKWTMUm8cmAlHO47XQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 98292108C30A; Thu, 2 Jul 2020 11:52:26 +0000 (UTC) Received: from T590 (ovpn-12-180.pek2.redhat.com [10.72.12.180]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2D6697788F; Thu, 2 Jul 2020 11:52:20 +0000 (UTC) Date: Thu, 2 Jul 2020 19:52:16 +0800 From: Ming Lei To: Sachin Sant Cc: linuxppc-dev@lists.ozlabs.org, linux-block@vger.kernel.org, Linux Next Mailing List , axboe@kernel.dk Subject: Re: [powerpc][next-20200701] Hung task timeouts during regression test runs Message-ID: <20200702115216.GF2452799@T590> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Jul 02, 2020 at 04:53:04PM +0530, Sachin Sant wrote: > Starting with linux-next 20200701 release I am observing automated regressions > tests taking longer time to complete. A test which took 10 minutes with next-20200630 > took more than 60 minutes against next-20200701. > > Following hung task timeout messages were seen during these runs > > [ 1718.848351] Not tainted 5.8.0-rc3-next-20200701-autotest #1 > [ 1718.848356] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1718.848362] NetworkManager D 0 2626 1 0x00040080 > [ 1718.848367] Call Trace: > [ 1718.848374] [c0000008b0f6b8f0] [c000000000c6d558] schedule+0x78/0x130 (unreliable) > [ 1718.848382] [c0000008b0f6bad0] [c00000000001b070] __switch_to+0x2e0/0x480 > [ 1718.848388] [c0000008b0f6bb30] [c000000000c6ce9c] __schedule+0x2cc/0x910 > [ 1718.848394] [c0000008b0f6bc10] [c000000000c6d558] schedule+0x78/0x130 > [ 1718.848401] [c0000008b0f6bc40] [c0000000005d5a64] jbd2_log_wait_commit+0xd4/0x1a0 > [ 1718.848408] [c0000008b0f6bcc0] [c00000000055fb6c] ext4_sync_file+0x1cc/0x480 > [ 1718.848415] [c0000008b0f6bd20] [c000000000493530] vfs_fsync_range+0x70/0xf0 > [ 1718.848421] [c0000008b0f6bd60] [c000000000493638] do_fsync+0x58/0xd0 > [ 1718.848427] [c0000008b0f6bda0] [c0000000004936d8] sys_fsync+0x28/0x40 > [ 1718.848433] [c0000008b0f6bdc0] [c000000000035e28] system_call_exception+0xf8/0x1c0 > [ 1718.848440] [c0000008b0f6be20] [c00000000000ca70] system_call_common+0xf0/0x278 > > Comparing next-20200630 with next-20200701 one possible candidate seems to > be following commit: > > commit 37f4a24c2469a10a4c16c641671bd766e276cf9f > blk-mq: centralise related handling into blk_mq_get_driver_tag > > Reverting this commit allows the test to complete in 10 minutes. Hello, Thanks for the report. Please try the following fix: https://lore.kernel.org/linux-block/20200702062041.GC2452799@T590/raw Thanks, Ming From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD041C433DF for ; Thu, 2 Jul 2020 11:58:20 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E6F820737 for ; Thu, 2 Jul 2020 11:58:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BbrK9ibI"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BbrK9ibI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7E6F820737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49yGnk23jjzDr0C for ; Thu, 2 Jul 2020 21:58:17 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=redhat.com (client-ip=207.211.31.81; helo=us-smtp-delivery-1.mimecast.com; envelope-from=ming.lei@redhat.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=BbrK9ibI; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=BbrK9ibI; dkim-atps=neutral Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49yGgG5KBhzDqV1 for ; Thu, 2 Jul 2020 21:52:35 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593690752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zCfTmJvRvO6CmeTx04OXe3MzPNsYUP6t2rORmnve7mw=; b=BbrK9ibIts+eFWN9hSlTegXpb7UHan+XGi2zvk2oF82ORG81NZ26IuGUwA85BiaQ1fun56 9VbgmoCe6AmP8ZUKRgQPlDxXGeZFO9qqlaG7QhxbLx0dgaQr5nfQeZrBDxMNXYUkwgKY39 OdQjp3Xk/PMiJViI+6jcakz2mh7l/8g= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593690752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zCfTmJvRvO6CmeTx04OXe3MzPNsYUP6t2rORmnve7mw=; b=BbrK9ibIts+eFWN9hSlTegXpb7UHan+XGi2zvk2oF82ORG81NZ26IuGUwA85BiaQ1fun56 9VbgmoCe6AmP8ZUKRgQPlDxXGeZFO9qqlaG7QhxbLx0dgaQr5nfQeZrBDxMNXYUkwgKY39 OdQjp3Xk/PMiJViI+6jcakz2mh7l/8g= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-67-VkoWzKWTMUm8cmAlHO47XQ-1; Thu, 02 Jul 2020 07:52:27 -0400 X-MC-Unique: VkoWzKWTMUm8cmAlHO47XQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 98292108C30A; Thu, 2 Jul 2020 11:52:26 +0000 (UTC) Received: from T590 (ovpn-12-180.pek2.redhat.com [10.72.12.180]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2D6697788F; Thu, 2 Jul 2020 11:52:20 +0000 (UTC) Date: Thu, 2 Jul 2020 19:52:16 +0800 From: Ming Lei To: Sachin Sant Subject: Re: [powerpc][next-20200701] Hung task timeouts during regression test runs Message-ID: <20200702115216.GF2452799@T590> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-block@vger.kernel.org, axboe@kernel.dk, Linux Next Mailing List , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Jul 02, 2020 at 04:53:04PM +0530, Sachin Sant wrote: > Starting with linux-next 20200701 release I am observing automated regressions > tests taking longer time to complete. A test which took 10 minutes with next-20200630 > took more than 60 minutes against next-20200701. > > Following hung task timeout messages were seen during these runs > > [ 1718.848351] Not tainted 5.8.0-rc3-next-20200701-autotest #1 > [ 1718.848356] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > [ 1718.848362] NetworkManager D 0 2626 1 0x00040080 > [ 1718.848367] Call Trace: > [ 1718.848374] [c0000008b0f6b8f0] [c000000000c6d558] schedule+0x78/0x130 (unreliable) > [ 1718.848382] [c0000008b0f6bad0] [c00000000001b070] __switch_to+0x2e0/0x480 > [ 1718.848388] [c0000008b0f6bb30] [c000000000c6ce9c] __schedule+0x2cc/0x910 > [ 1718.848394] [c0000008b0f6bc10] [c000000000c6d558] schedule+0x78/0x130 > [ 1718.848401] [c0000008b0f6bc40] [c0000000005d5a64] jbd2_log_wait_commit+0xd4/0x1a0 > [ 1718.848408] [c0000008b0f6bcc0] [c00000000055fb6c] ext4_sync_file+0x1cc/0x480 > [ 1718.848415] [c0000008b0f6bd20] [c000000000493530] vfs_fsync_range+0x70/0xf0 > [ 1718.848421] [c0000008b0f6bd60] [c000000000493638] do_fsync+0x58/0xd0 > [ 1718.848427] [c0000008b0f6bda0] [c0000000004936d8] sys_fsync+0x28/0x40 > [ 1718.848433] [c0000008b0f6bdc0] [c000000000035e28] system_call_exception+0xf8/0x1c0 > [ 1718.848440] [c0000008b0f6be20] [c00000000000ca70] system_call_common+0xf0/0x278 > > Comparing next-20200630 with next-20200701 one possible candidate seems to > be following commit: > > commit 37f4a24c2469a10a4c16c641671bd766e276cf9f > blk-mq: centralise related handling into blk_mq_get_driver_tag > > Reverting this commit allows the test to complete in 10 minutes. Hello, Thanks for the report. Please try the following fix: https://lore.kernel.org/linux-block/20200702062041.GC2452799@T590/raw Thanks, Ming