Message ID | cover.1684928629.git.anand.jain@oracle.com (mailing list archive) |
---|---|
Headers | show |
Series | btrfs: metadata_uuid refactors part1 | expand |
On Wed, May 24, 2023 at 08:02:34PM +0800, Anand Jain wrote: > v2: Addressed the review comments received on some patches. Please refer > to the individual patches for more details. > > 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 match_fsid_fs_devices helper > btrfs: refactor with match_fsid_changed helper > btrfs: consolidate uuid memcmp in btrfs_validate_super > btrfs: add and fix comments in btrfs_fs_devices Added to misc-next with some minor adjustments, thanks.
Hi Anand, thanks for the patches, nice clean-ups / improvements! I'm working in the same-fsid mounting [0] (guess you even commented there already) and that touches a lot the metadata_uuid/fsid related code. So I'd like to ask if you maybe have a "part 2" ready or almost ready, in order I can merge it and work on top of that, avoiding too much conflicts later. Thanks in advance! Guilherme [0] https://lore.kernel.org/linux-btrfs/20230504170708.787361-1-gpiccoli@igalia.com/
I have a few items still in progress, and I should be sending them out this week. The main focus is on cleaning up the usage of the CHANGING_FSID flag. However, it also requires changes in the btrfs-progs and testing, which is taking longer than I anticipated. Thank you for your patience. Thanks, - Anand On 27/06/2023 22:55, Guilherme G. Piccoli wrote: > Hi Anand, thanks for the patches, nice clean-ups / improvements! > > I'm working in the same-fsid mounting [0] (guess you even commented > there already) and that touches a lot the metadata_uuid/fsid related code. > > So I'd like to ask if you maybe have a "part 2" ready or almost ready, > in order I can merge it and work on top of that, avoiding too much > conflicts later. > > Thanks in advance! > > > Guilherme > > > [0] > https://lore.kernel.org/linux-btrfs/20230504170708.787361-1-gpiccoli@igalia.com/
On 28/06/2023 05:52, Anand Jain wrote: > > > I have a few items still in progress, and I should be sending > them out this week. The main focus is on cleaning up the usage > of the CHANGING_FSID flag. However, it also requires changes > in the btrfs-progs and testing, which is taking longer than > I anticipated. Thank you for your patience. > > Thanks, - Anand > Thanks Anand, no hurries at all. Was just in case you already had a branch somewhere, I could pick it and work on top of that. But instead I'm working now on top of "6.5-rc1", which already includes part 1. It's good and I can fix conflicts later, not a biggie. Thanks for the very useful refactor, I confess I found the metadata_uuid stuff a bit confusing to read, code is now better =) Cheers!