Message ID | 20190605191511.32695-10-hch@lst.de (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <linux-xfs-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74B1013AD for <patchwork-linux-xfs@patchwork.kernel.org>; Wed, 5 Jun 2019 19:15:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A3F3212D8 for <patchwork-linux-xfs@patchwork.kernel.org>; Wed, 5 Jun 2019 19:15:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5EA1D2888B; Wed, 5 Jun 2019 19:15:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F32F28899 for <patchwork-linux-xfs@patchwork.kernel.org>; Wed, 5 Jun 2019 19:15:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726581AbfFETPl (ORCPT <rfc822;patchwork-linux-xfs@patchwork.kernel.org>); Wed, 5 Jun 2019 15:15:41 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:59698 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbfFETPl (ORCPT <rfc822;linux-xfs@vger.kernel.org>); Wed, 5 Jun 2019 15:15:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PAd1XR9AgdoIls6EoeCGa59F2GEZa/kKapd5dB2UKVQ=; b=pGdLJPsThuRDbN4LvESoOA4fRB 69Vc107BLa0Ecmsx3J/dNAIpSH+CvcRcsjvuaLaWtRQuKhxiIE5JCyknhVf2qFXMjMCcXPMu/DVe6 xMcPQ0fLNmh/XpXLzN6xAX1NcocfZk2Eqb4/GRP7Lf2worojIi6TjRmudwhx2pgclRy1N2XgGSlNM 4s9a1a9NiQE7B8VfoOEWm4vVxkR29LbHwMN6HJkeP1TvDz19k5ZtiTp/s18bIOoZAMzAKIDy9hELX GOFRM1HLDYfAFyQzeJrgtj3mQ9J71skQqzlNR/+RmowYzYZhT3H22aeP4wE81WydyrfXYLFbREkV2 F9s3NzmA==; Received: from 089144193064.atnat0002.highway.a1.net ([89.144.193.64] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYbNs-0002Ck-RI; Wed, 05 Jun 2019 19:15:41 +0000 From: Christoph Hellwig <hch@lst.de> To: linux-xfs@vger.kernel.org Cc: Dave Chinner <dchinner@redhat.com> Subject: [PATCH 09/24] xfs: don't use REQ_PREFLUSH for split log writes Date: Wed, 5 Jun 2019 21:14:56 +0200 Message-Id: <20190605191511.32695-10-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190605191511.32695-1-hch@lst.de> References: <20190605191511.32695-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: <linux-xfs.vger.kernel.org> X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[01/24] xfs: remove the no-op spinlock_destroy stub
|
expand
|
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 1af9302fbe1e..5c48b7de5033 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c @@ -1904,7 +1904,7 @@ xlog_sync( * synchronously here; for an internal log we can simply use the block * layer state machine for preflushes. */ - if (log->l_mp->m_logdev_targp != log->l_mp->m_ddev_targp) + if (log->l_mp->m_logdev_targp != log->l_mp->m_ddev_targp || split) xfs_blkdev_issue_flush(log->l_mp->m_ddev_targp); else bp->b_flags |= XBF_FLUSH;