public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] btrfs: metadata_uuid refactors part1
@ 2023-05-23 10:03 Anand Jain
  2023-05-23 10:03 ` [PATCH 1/9] btrfs: reduce struct btrfs_fs_devices size relocate fsid_change Anand Jain
                   ` (9 more replies)
  0 siblings, 10 replies; 24+ messages in thread
From: Anand Jain @ 2023-05-23 10:03 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Anand Jain

The metadata_uuid feature added later has significantly impacted code
readability due to the numerous conditions that need to be checked.

This patch set aims to improve code organization and prepares for
streamlining of the metadata_uuid checks and some simple fixes.

Anand Jain (9):
  btrfs: reduce struct btrfs_fs_devices size relocate fsid_change
  btrfs: streamline fsid checks in alloc_fs_devices
  btrfs: localise has_metadata_uuid check in alloc_fs_devices args
  btrfs: add comment about metadata_uuid in btrfs_fs_devices
  btrfs: simplify check_tree_block_fsid return arg to bool
  btrfs: refactor with memcmp_fsid_fs_devices helper
  btrfs: refactor with memcmp_fsid_changed helper
  btrfs: consolidate uuid memcmp in btrfs_validate_super
  btrfs: fix source code style in find_fsid

 fs/btrfs/disk-io.c |  24 +++++-----
 fs/btrfs/volumes.c | 114 +++++++++++++++++++++++++--------------------
 fs/btrfs/volumes.h |  21 +++++++--
 3 files changed, 94 insertions(+), 65 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-05-24 11:07 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-23 10:03 [PATCH 0/9] btrfs: metadata_uuid refactors part1 Anand Jain
2023-05-23 10:03 ` [PATCH 1/9] btrfs: reduce struct btrfs_fs_devices size relocate fsid_change Anand Jain
2023-05-23 16:27   ` Christoph Hellwig
2023-05-23 20:59     ` David Sterba
2023-05-24  5:56       ` Christoph Hellwig
2023-05-24 11:00         ` Anand Jain
2023-05-23 21:31   ` David Sterba
2023-05-24  5:15     ` Anand Jain
2023-05-23 10:03 ` [PATCH 2/9] btrfs: streamline fsid checks in alloc_fs_devices Anand Jain
2023-05-23 16:30   ` Christoph Hellwig
2023-05-24  8:45     ` Anand Jain
2023-05-23 10:03 ` [PATCH 3/9] btrfs: localise has_metadata_uuid check in alloc_fs_devices args Anand Jain
2023-05-23 10:03 ` [PATCH 4/9] btrfs: add comment about metadata_uuid in btrfs_fs_devices Anand Jain
2023-05-23 10:03 ` [PATCH 5/9] btrfs: simplify check_tree_block_fsid return arg to bool Anand Jain
2023-05-23 10:03 ` [PATCH 6/9] btrfs: refactor with memcmp_fsid_fs_devices helper Anand Jain
2023-05-23 21:23   ` David Sterba
2023-05-24  5:55     ` Anand Jain
2023-05-23 10:03 ` [PATCH 7/9] btrfs: refactor with memcmp_fsid_changed helper Anand Jain
2023-05-23 16:31   ` Christoph Hellwig
2023-05-23 10:03 ` [PATCH 8/9] btrfs: consolidate uuid memcmp in btrfs_validate_super Anand Jain
2023-05-23 10:03 ` [PATCH 9/9] btrfs: fix source code style in find_fsid Anand Jain
2023-05-23 21:29   ` David Sterba
2023-05-24  5:57     ` Anand Jain
2023-05-23 21:33 ` [PATCH 0/9] btrfs: metadata_uuid refactors part1 David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox