From patchwork Tue Aug 28 19:22:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allison Henderson X-Patchwork-Id: 10579021 Return-Path: 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 B4EFE13B8 for ; Tue, 28 Aug 2018 19:25:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7C502A9C5 for ; Tue, 28 Aug 2018 19:25:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BF0B2AB95; Tue, 28 Aug 2018 19:25:06 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY 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 54B062A9C5 for ; Tue, 28 Aug 2018 19:25:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726383AbeH1XSJ (ORCPT ); Tue, 28 Aug 2018 19:18:09 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:39096 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727206AbeH1XSJ (ORCPT ); Tue, 28 Aug 2018 19:18:09 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w7SJJDmP125076 for ; Tue, 28 Aug 2018 19:25:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : in-reply-to : references; s=corp-2018-07-02; bh=Cc1DLDF99tpF0KpJULqPJZvNwXLE0j2QDRwhjafrafs=; b=TMGHU5yi2TDLwjDGJvsGVu5zblcAYcZWY36aQ1npBRo+5dvLPe8O8jGcHj0hUn+0dgtE KDQRhkUYs4tSuLzS9+gAcpLWbML9KizCWnUSADtmDVatyJ12jA0vJBQsIlYLPgT1WqlW 7DwqDzs1o9s2X97U3y5lEsXtLObdY3cPV/cInXAAPm4exzQ8C7Mw5fHwabfi6w2DxFYY sF/Iz87uzTxPUG9GHLSeUbAufycmHLy+NuHCdLHmQdQYdOlSpZWincT2QUNxoXEL9QSu KWw3KMozFMJwHkGPKmNU+PAlm7t8WTuL3LrrkJKyAnqnVnF7B0b6AT4RB90u8KoXDQei Bg== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2120.oracle.com with ESMTP id 2m2y2pdwkq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Aug 2018 19:25:04 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w7SJP2vE013368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Aug 2018 19:25:03 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w7SJP20e003545 for ; Tue, 28 Aug 2018 19:25:02 GMT Received: from localhost.localdomain (/70.176.225.12) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 28 Aug 2018 12:25:02 -0700 From: Allison Henderson To: linux-xfs@vger.kernel.org Subject: [PATCH v8 26/28] xfs: Increase XFS_DEFER_OPS_NR_INODES to 4 Date: Tue, 28 Aug 2018 12:22:39 -0700 Message-Id: <1535484161-11059-27-git-send-email-allison.henderson@oracle.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535484161-11059-1-git-send-email-allison.henderson@oracle.com> References: <1535484161-11059-1-git-send-email-allison.henderson@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8999 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=908 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808280187 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Renames that generate parent pointer updates will need to 2 extra defer operations. One for the rmap update and another for the parent pointer update Signed-off-by: Allison Henderson --- fs/xfs/xfs_trans.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h index cc38d45..7e86892 100644 --- a/fs/xfs/xfs_trans.h +++ b/fs/xfs/xfs_trans.h @@ -95,7 +95,7 @@ void xfs_log_item_init(struct xfs_mount *mp, struct xfs_log_item *item, /* * Deferred operation item relogging limits. */ -#define XFS_DEFER_OPS_NR_INODES 2 /* join up to two inodes */ +#define XFS_DEFER_OPS_NR_INODES 4 /* join up to four inodes */ #define XFS_DEFER_OPS_NR_BUFS 2 /* join up to two buffers */ /*