From patchwork Fri Sep 29 18:52:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 13404773 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 D9968E728CF for ; Fri, 29 Sep 2023 18:59:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233793AbjI2S7M (ORCPT ); Fri, 29 Sep 2023 14:59:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233058AbjI2S7L (ORCPT ); Fri, 29 Sep 2023 14:59:11 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACCD91AA for ; Fri, 29 Sep 2023 11:59:09 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 6349C1F45E; Fri, 29 Sep 2023 18:59:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1696013948; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=qTZUeTz3W1foPDycmT0QAtZ9ugthoVFMZwPnUR0FK7E=; b=AHx/MO1omYHBuuswVlS1VRktwjui7rhX7wdMsPh43ATfRc6zBcsPzO3xu/HXBBuQk0Iicd zKwvLLqz0aTfsti52RxjBHoH0A5Ytjj8nJcqS4Q+/CIfUI3vD/2YSUmigB0SXtLlrq9Tt4 sbI22ZdptLQezL+csL0UVnE/SsUjAOo= Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id 4157B2C142; Fri, 29 Sep 2023 18:59:08 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id CAAF2DA832; Fri, 29 Sep 2023 20:52:29 +0200 (CEST) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH 0/2] Open code btrfs_ordered_inode_tree in btrfs_inode Date: Fri, 29 Sep 2023 20:52:29 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org The structure btrfs_ordered_inode_tree can be open coded, namely to get rid of the hole that in turn appears in btrfs_inode. David Sterba (2): btrfs: open code btrfs_ordered_inode_tree in btrfs_inode btrfs: reorder btrfs_inode to fill gaps fs/btrfs/btrfs_inode.h | 20 ++++--- fs/btrfs/inode.c | 8 ++- fs/btrfs/ordered-data.c | 122 ++++++++++++++++++---------------------- fs/btrfs/ordered-data.h | 15 ----- fs/btrfs/tree-log.c | 4 +- 5 files changed, 72 insertions(+), 97 deletions(-)