Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp131452imm; Thu, 2 Aug 2018 15:27:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdwELHEwxivar0ntm2saORo+4Ng6I+yvEt+XHJjc+XpKOPML1+tdKgqYxOZqxohSY+SCx06 X-Received: by 2002:a17:902:6ac3:: with SMTP id i3-v6mr1113289plt.252.1533248870739; Thu, 02 Aug 2018 15:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533248870; cv=none; d=google.com; s=arc-20160816; b=d/SP7ddPXtrkx8CeIDwgFQWEJcfBeUBNWQlo4HhQM/jRVUAWpUx27Yrwd88g2Ahsb1 hek/dNc4Cik7iwL6hEv+DVkl1wxcrMmkrp1sFQpkWLlr7rrCzgn6DT5j9k3sEBVOizNZ CddEUCvfAJkvwfOkwg7T1F5zeH3QEQKJjpwLl9zBrzNAgdVaZDTIBtc7CIL9a6Weum6B 9lWV2LifXk40V06x3+DkHQL1sEagrFUIE1zK4DXY/I8RN6fjR92N7VyQgX22u8V//jvh S72Jyxc7UV4xxCN3l894NPgPCJ7sL2AydvLVL/U1uo/C/aZRaE/S8FveS5/NJlm73QvJ uNKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=qCWAVjVzZSmT5ZBSCQBDQzX2vpPdqNeakocZJMig8Wc=; b=reWRnMRErGmzVQ5xj3itk7LNphVjQBRUoNsEDVh00fHKMErs19CeeMQ9oRx4meZQ7J Vu3PDitQytxu20VII1717r4kig3aDjlRnZe9QcOcUTSFexemjWRplqIOIvd2e/DGI7m0 PnxWQ5miJpBADmJp+L5GjILmvnnuOIToiGyF5enoUOMc4pYRSyjTVcin4XccTiZ3sryx 1WSAGXKtS5qLW9BSqtEHGze0mDoRHBmHCUnJLl11sxZ7fOyYm0uM5tH1hJvhgEe49ovt vytGSPOWUtIBNe+fzk12eQsW9MbnxuPO3js+Xz/KJpClGDKK+aSYi32Ut2WqvEk99R7h zcSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189-v6si2903400pge.66.2018.08.02.15.27.36; Thu, 02 Aug 2018 15:27:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732393AbeHCATt (ORCPT + 99 others); Thu, 2 Aug 2018 20:19:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:35144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732299AbeHCATt (ORCPT ); Thu, 2 Aug 2018 20:19:49 -0400 Received: from localhost.localdomain (c-98-220-238-81.hsd1.il.comcast.net [98.220.238.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 145EC215E5; Thu, 2 Aug 2018 22:26:38 +0000 (UTC) From: Tom Zanussi To: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Cc: rostedt@goodmis.org, tglx@linutronix.de, C.Emde@osadl.org, jkacur@redhat.com, bigeasy@linutronix.de, daniel.wagner@siemens.com, julia@ni.com, Tom Zanussi , stable-rt@vger.kernel.org Subject: [PATCH 10/15] Revert "fs, jbd: pull your plug when waiting for space" Date: Thu, 2 Aug 2018 17:25:25 -0500 Message-Id: X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 3b5cf23e6b87a938522eb074baeb034e66dc9cb3. Similar to commit d5bc2c7b2cc0 Revert "fs: jbd2: pull your plug when waiting for space", according to Sebastian Siewior: this "is the same thing but for ext3/jbd. The code was removed at some point so I did not revert in my tree." From the original commit message: "This was a duct-tape fix which shouldn't be needed since commit "locking/rt-mutex: fix deadlock in device mapper / block-IO". Cc: stable-rt@vger.kernel.org Signed-off-by: Tom Zanussi --- fs/jbd/checkpoint.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/jbd/checkpoint.c b/fs/jbd/checkpoint.c index 95debd71e5fa..08c03044abdd 100644 --- a/fs/jbd/checkpoint.c +++ b/fs/jbd/checkpoint.c @@ -129,8 +129,6 @@ void __log_wait_for_space(journal_t *journal) if (journal->j_flags & JFS_ABORT) return; spin_unlock(&journal->j_state_lock); - if (current->plug) - io_schedule(); mutex_lock(&journal->j_checkpoint_mutex); /* -- 2.14.1