From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 9318DC4332F for ; Sat, 31 Dec 2022 00:58:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235694AbiLaA6n (ORCPT ); Fri, 30 Dec 2022 19:58:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230017AbiLaA6m (ORCPT ); Fri, 30 Dec 2022 19:58:42 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B76B1C913 for ; Fri, 30 Dec 2022 16:58:42 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ED8A6B81E06 for ; Sat, 31 Dec 2022 00:58:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B053EC433EF; Sat, 31 Dec 2022 00:58:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672448319; bh=o6N0bnuKwI/6Rh4LN2ySXESVUZqMux/AhSvPZ9m3rzA=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=FQBz2DowEv9419Va+Q4GP3sk0IKnpaKY9pEaLlJckeZuDjero4f2Qa/mCsZINekYl wQzDL4hH/zilsFfqfcHdN+SPNorG1ATZeJUoVWvu7he8Q58jIamqSqXyMHLTDW8pog ZFu24T6Ncl8701t4ttOyxRjOdwU7lek6DUAeZgfea35KpPGPOWzq1NCRmbCZvAV2KM WX/sl0JJP00ZfIpnBqrOlpN68ZraVO2HhdQYisDG8/Lj7/94eEI7WusavMhD3A7B8q XZSuVUBtkJINvG7rH53E8klej+YIgXaWGdfgOdExLirEDP3lHBvhjj+fbfor+ZNjv4 1X+hQYknVnnJA== Subject: [PATCHSET v1.0 0/5] xfs: refcount log intent cleanups From: "Darrick J. Wong" To: djwong@kernel.org Cc: linux-xfs@vger.kernel.org Date: Fri, 30 Dec 2022 14:18:24 -0800 Message-ID: <167243870440.716629.17983217257958002785.stgit@magnolia> In-Reply-To: References: User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Hi all, This series cleans up the refcount intent code before we start adding support for realtime devices. Similar to previous intent cleanup patchsets, we start transforming the tracepoints so that the data extraction are done inside the tracepoint code, and then we start passing the intent itself to the _finish_one function. This reduces the boxing and unboxing of parameters. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=refcount-intent-cleanups xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=refcount-intent-cleanups --- fs/xfs/libxfs/xfs_refcount.c | 122 ++++++++-------------- fs/xfs/libxfs/xfs_refcount.h | 6 + fs/xfs/xfs_refcount_item.c | 32 ++---- fs/xfs/xfs_trace.c | 1 fs/xfs/xfs_trace.h | 229 ++++++++++++++++++++---------------------- 5 files changed, 169 insertions(+), 221 deletions(-)