Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5120324rwd; Sun, 11 Jun 2023 23:36:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AQqkZvJm68MFKwAmw59BvJlAHIEdA+351TrTWTobDHa7h8/BDxqv5s3SreVDf/D7DKJ3Q X-Received: by 2002:a17:907:986:b0:971:1717:207b with SMTP id bf6-20020a170907098600b009711717207bmr10479519ejc.35.1686551773591; Sun, 11 Jun 2023 23:36:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686551773; cv=none; d=google.com; s=arc-20160816; b=hq8pbQdC1nYCt5wwqBuP8u/AIvd1qRVbqO2jcP+G6LjSQj9VNalR0kTbEXZIb8U70q 4bOnNSGbZsZVjl1Eiofl/G5dCUj8vkn+8BVssHUZcYOOmTdpwYmCrtokkvpG/M3W30bz JdDE07xHnVw/osY8HKR1aA3+sI0y7ggS1a5RqSmVHhczfA84Qrh21rCPPKr0o88uxI3S svkBdgzjRBU+iUccIlC9aqyAaCn3nwBQ8h8cMl13gQyva85j/zXe8eC8m/76IZqgGcoq Me3Aw7Doy4MShyaJAF6nJIvx/YFkyUndIRbTI6oBoYCo1izpnTPf5Flm3cRxESERGZhk SlbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NOjT3kFEBS5OQNHw58+RCjy2pREgfJy/T9HBw6SYqdQ=; b=Sa20EWtxX7P2Bmc1Zzh3wZTSrjrvgUpq+8+WiZI6qs3Q/BPhFIivWJqa8TXaQAJ9lj jC77Lt5PhWpuz28bzfFb4IFJl3RbitSXSJeqaHDMBR2QcRRn+19/+D5OY0GYDmIG7/IG wnNJoHNexKwE/1e56LSVUIjc7oUd5cJLGLhGmCI3/gFRjdbJ+PXbURDaoiLladZjgXUK NayCPLS9MKUvgAjwsq8s/Gjc3ASzK6+UKbYiDAhhl2GF7QBgBfKU0Dzoce9nERhISl3/ Ngxt57iubgITVYpQLXYEjzLzDLrq4GD+LKhmQISwhEe0zwGT/yNw2Uyr+4qkVTjdFlYw 4FHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fromorbit-com.20221208.gappssmtp.com header.s=20221208 header.b=j2Liob38; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e15-20020a1709067e0f00b0097456c647ffsi5118496ejr.447.2023.06.11.23.35.49; Sun, 11 Jun 2023 23:36:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fromorbit-com.20221208.gappssmtp.com header.s=20221208 header.b=j2Liob38; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233999AbjFLFuM (ORCPT + 99 others); Mon, 12 Jun 2023 01:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236072AbjFLFtO (ORCPT ); Mon, 12 Jun 2023 01:49:14 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19E5410D0 for ; Sun, 11 Jun 2023 22:49:12 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1b3d44e3d1cso3753555ad.0 for ; Sun, 11 Jun 2023 22:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20221208.gappssmtp.com; s=20221208; t=1686548951; x=1689140951; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=NOjT3kFEBS5OQNHw58+RCjy2pREgfJy/T9HBw6SYqdQ=; b=j2Liob38MVU/aNvJXnDtjyfvdpYpQvVJc0WwYjA8/a2zhKJA3VktzBDwSwOwuFL9e8 vCOQhL8fF2taAzIAj0iiCbLV0gDco/8jkM8a8aGAL9cNyvmpQaUN9+I/E01Tu77jfQyD rJYTn+fp4LLXSzKEmbemwcahuC2MbHdNKA4lSxu/Umv90/tCC8vHqP6h1H7geMi8xyaH BO60yV/LZyH0t44Q4ohwgx5JJyHKIzH2jHGnbLh+fhS/cfk7qzqoO9gLPIEPX/19vSW+ HDuybHRTpsJQveSC3EGqzlrAbJaTqTzj9xTNl+uF24l49/DzdsOz/LqTmPd5Rpv13bes YqUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686548951; x=1689140951; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NOjT3kFEBS5OQNHw58+RCjy2pREgfJy/T9HBw6SYqdQ=; b=QKw8xPSird4UAEIywZWLUXDeX0QHraON0NLLP5jbA0gd/xc/PbXqMNHEEheZ1YJy2m IkFQ1wHHPI5AC7CInGuHOIVGpVUPYVJUTLJvj7ugT9gyF2pe9UWpJx+x7Q0WSs20z3xJ dWcVGliHzhDzuu1oF1RA0m4vp/nXmr8yK1HdSUSca/kNcGIslZBloN8PWLZ7jaXTZmoB DTGjC3KjxqadF4FUgYjPfO+TqSs8AcyU65nVJggEjynBA/Kq510XK2itMSNmGTM2if0W UNQZu83qvGSQTYPy3JYRDkpQ5Wshmxo8qQim0fi2Wz6K5PplCTFPrWHfjMo8zJk7ezy/ Svbw== X-Gm-Message-State: AC+VfDyFuW7KXlf0sLuBuG7xzdqOGHsy5EOAl3p38lCDyNInyjCzj0d5 rzcQGg5JGSN8Ru77Hh/EM3qtKg== X-Received: by 2002:a17:902:ce8a:b0:1b2:a63:95aa with SMTP id f10-20020a170902ce8a00b001b20a6395aamr6351219plg.54.1686548951300; Sun, 11 Jun 2023 22:49:11 -0700 (PDT) Received: from dread.disaster.area (pa49-179-79-151.pa.nsw.optusnet.com.au. [49.179.79.151]) by smtp.gmail.com with ESMTPSA id k21-20020a170902761500b001b03f208323sm7274749pll.64.2023.06.11.22.49.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jun 2023 22:49:10 -0700 (PDT) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1q8aQO-00AlOI-1G; Mon, 12 Jun 2023 15:49:08 +1000 Date: Mon, 12 Jun 2023 15:49:08 +1000 From: Dave Chinner To: Linus Torvalds Cc: "Darrick J. Wong" , Zorro Lang , linux-xfs@vger.kernel.org, "Eric W. Biederman" , Mike Christie , "Michael S. Tsirkin" , linux-kernel@vger.kernel.org Subject: Re: [6.5-rc5 regression] core dump hangs (was Re: [Bug report] fstests generic/051 (on xfs) hang on latest linux v6.5-rc5+) Message-ID: References: <20230611124836.whfktwaumnefm5z5@zlang-mailbox> <20230612015145.GA11441@frogsfrogsfrogs> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 11, 2023 at 10:34:29PM -0700, Linus Torvalds wrote: > On Sun, Jun 11, 2023 at 10:16 PM Dave Chinner wrote: > > > > > + /* vhost workers don't participate in core dups */ > > > + if ((current->flags & (PF_IO_WORKER | PF_USER_WORKER)) != PF_USER_WORKER) > > > + goto out; > > > + > > > > That would appear to make things worse. mkfs.xfs hung in Z state on > > exit and never returned to the shell. > > Well, duh, that's because I'm a complete nincompoop who just copied > the condition from the other cases, but those other cases were for > testing the "this is *not* a vhost worker". > > Here the logic - as per the comment I added - was supposed to be "is > this a vhost worker". > > So that "!=" should obviously have been a "==". Same as without the condition - all the fsstress tasks hang in do_coredump(). Cheers, Dave. -- Dave Chinner david@fromorbit.com