From patchwork Thu Oct 19 06:59:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10016073 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 83B3160215 for ; Thu, 19 Oct 2017 07:00:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7675728C64 for ; Thu, 19 Oct 2017 07:00:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A12B28CA3; Thu, 19 Oct 2017 07:00:03 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 E7BF228C64 for ; Thu, 19 Oct 2017 07:00:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751720AbdJSHAC (ORCPT ); Thu, 19 Oct 2017 03:00:02 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:36289 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670AbdJSHAC (ORCPT ); Thu, 19 Oct 2017 03:00:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding: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=Jf+fDTGOXHzqNUMRY5/MoGtZ8iuoyGakbMTUjy4ZF1E=; b=ilaPYLDaD4senK2CtOtIrsfSD cGyk1gwy3BrciLiV0RCSrlITkZP0Z9iSW9Bz64iQAIyJQGNpjf3NJNH16OLfG9yyG2w//b6AyZDIc OMlf7gzXyLWqWH3fjJExWHtg/n+fO6SOVO+MKD6axbbuy8mE4a2gWc2IDCytbmBlik1EgbLyGBoXb mnb0d6BPBj3PKdZLrfp7kuL3zj42Mt7Rl9Yv4q9kxQfTwehd1r+zNbAGH7+jUvebsUuCpuR791h1/ QC1vskJ/rORCEDosCHEIsrWSGrnduGqP0xBWNMS44o6UEmYvpVeM73QRmpVCPifMmhpkYvaKL6xiD mj6+6aVBA==; Received: from 212095007233.public.telering.at ([212.95.7.233] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1e54oC-0004Ft-Nu for linux-xfs@vger.kernel.org; Thu, 19 Oct 2017 07:00:01 +0000 From: Christoph Hellwig To: linux-xfs@vger.kernel.org Subject: [PATCH 03/15] xfs: remove post-bmap tracing in xfs_bmap_local_to_extents Date: Thu, 19 Oct 2017 08:59:30 +0200 Message-Id: <20171019065942.18813-4-hch@lst.de> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171019065942.18813-1-hch@lst.de> References: <20171019065942.18813-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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 Now that we use xfs_iext_insert this is already covered by the tracing in that function. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong --- fs/xfs/libxfs/xfs_bmap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c index 06a9ac7dcdab..8c2e5d6bced2 100644 --- a/fs/xfs/libxfs/xfs_bmap.c +++ b/fs/xfs/libxfs/xfs_bmap.c @@ -920,8 +920,6 @@ xfs_bmap_local_to_extents( rec.br_state = XFS_EXT_NORM; xfs_iext_insert(ip, 0, 1, &rec, 0); - trace_xfs_bmap_post_update(ip, 0, xfs_bmap_fork_to_state(whichfork), - _THIS_IP_); XFS_IFORK_NEXT_SET(ip, whichfork, 1); ip->i_d.di_nblocks = 1; xfs_trans_mod_dquot_byino(tp, ip,