Message ID | 20231116022833.121551-10-leah.rumancik@gmail.com (mailing list archive) |
---|---|
State | Deferred, archived |
Headers | show
Return-Path: <linux-xfs-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B37BC5AE5C for <linux-xfs@archiver.kernel.org>; Thu, 16 Nov 2023 02:28:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235674AbjKPC2w (ORCPT <rfc822;linux-xfs@archiver.kernel.org>); Wed, 15 Nov 2023 21:28:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235630AbjKPC2v (ORCPT <rfc822;linux-xfs@vger.kernel.org>); Wed, 15 Nov 2023 21:28:51 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB7AE19E; Wed, 15 Nov 2023 18:28:48 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1cc0d0a0355so2898465ad.3; Wed, 15 Nov 2023 18:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700101728; x=1700706528; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NyDHj0Q9SKvFdot9inww9hKxC7RkooFeASb9HJ0TqmI=; b=jMz14dMxQcQzozrOvIkmIUA2oN1UV6OnpnvFUPyz9z8w9WiLrpSLRsxq/byut6vatF yqxTaHcG9t+rmvt9zBD3pWw81ysrilbsoHACOHA6bQnvjct49QKoqFwZ/eftEXO0sMaf qx236TJ52LPKzYzJgR5GNb+jxvZ0N/KckcX6RzNQSFhkF8G1xe+kEmx4JwWJo8S52V46 xUcydPPij5MW6hQpTKbHsGIlp7Vu6V74meb9evdYFtxVMSFOGDKIc/Y3NLM63fdGWWlo OzmapONDKm9gSrQTpYwTRGltH+0QUfdzBrQjdforaWb+AV3YnsMTyxVFp/2iCSognkMg mJHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700101728; x=1700706528; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NyDHj0Q9SKvFdot9inww9hKxC7RkooFeASb9HJ0TqmI=; b=AdHOjGdtn4BjrjPQiEhdzGFWS1Gq9S1bd+uMlcbSTZhD1mwYWn1frXuksxvTdWFLBF gRhwGlckpPtqChuHkflu+pF6Sf0UNqUAPO5hDYXVXeZ+n/BkMYn2vO5p6JPhGmzQdE+M Fqwu9qhOe6fJDlvuRPZ6kYHZiL0YVbYd7Y5sunbPqD1GIgaWoCDtS1qjsrVhwHNDd2G/ QjeY8KzYtOLFFBFQfRHYyKePWpqCULJsyrZjcurVeMq1ErEdEx3jENU8UReHIiRqboPf 5YU5basPSX288tT9YHCfCQPVeiM30oxEXpnMyz747F0v1Yygt4ks0QEHR3QCe8nqRWrD nebw== X-Gm-Message-State: AOJu0YxIQrTkRBkMS+/9Z2bGpdMNnslmOVBpEOHuXuZslQPgyzD2SXOk oTb1gsoBUTfN8E08ZuqTr6ipeSgY3jzlZQ== X-Google-Smtp-Source: AGHT+IEvwZcyqaEdzvO+uOLrzL5s+xcn7bX+omK/N3gvJNd8TtD7OprBw3lkPqM0PyvvYsJAPaFstw== X-Received: by 2002:a17:903:244a:b0:1cc:644a:211b with SMTP id l10-20020a170903244a00b001cc644a211bmr8747715pls.47.1700101728001; Wed, 15 Nov 2023 18:28:48 -0800 (PST) Received: from lrumancik.svl.corp.google.com ([2620:15c:2a3:200:25ea:d6bb:623c:d6a0]) by smtp.gmail.com with ESMTPSA id j9-20020a170903024900b001b8b1f6619asm8087072plh.75.2023.11.15.18.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 18:28:47 -0800 (PST) From: Leah Rumancik <leah.rumancik@gmail.com> To: stable@vger.kernel.org Cc: linux-xfs@vger.kernel.org, amir73il@gmail.com, chandan.babu@oracle.com, fred@cloudflare.com, "Darrick J. Wong" <djwong@kernel.org>, Dave Chinner <dchinner@redhat.com>, Leah Rumancik <leah.rumancik@gmail.com>, Chandan Babu R <chandanbabu@kernel.org> Subject: [PATCH 5.15 10/17] xfs: fix intermittent hang during quotacheck Date: Wed, 15 Nov 2023 18:28:26 -0800 Message-ID: <20231116022833.121551-10-leah.rumancik@gmail.com> X-Mailer: git-send-email 2.43.0.rc0.421.g78406f8d94-goog In-Reply-To: <20231116022833.121551-1-leah.rumancik@gmail.com> References: <20231116022833.121551-1-leah.rumancik@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-xfs.vger.kernel.org> X-Mailing-List: linux-xfs@vger.kernel.org |
Series |
[5.15,01/17] xfs: refactor buffer cancellation table allocation
|
expand
|
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index 623244650a2f..792736e29a37 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -1244,6 +1244,13 @@ xfs_qm_flush_one( error = -EINVAL; goto out_unlock; } + + if (!(bp->b_flags & _XBF_DELWRI_Q)) { + error = -EAGAIN; + xfs_buf_relse(bp); + goto out_unlock; + } + xfs_buf_unlock(bp); xfs_buf_delwri_pushbuf(bp, buffer_list);