btrfs-progs/kernel-shared
Anand Jain 9ce233965f btrfs-progs: track active metadata_uuid per fs_devices
When the fsid does not match the metadata_uuid, the METADATA_UUID flag
is set in the superblock.

Changing the fsid using the btrfstune -U|-u option is not possible on a
filesystem with the METADATA_UUID flag set. But we are checking the
METADATA_UUID only from the super_copy, and not from the other scanned
device.

To fix this bug, track the metadata_uuid at the fs_devices level instead
of checking it only on the specified device in the argument, and use it.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-08-28 17:24:22 +02:00
..
uapi
accessors.c
accessors.h btrfs-progs: fix accessors for big endian systems 2023-06-15 12:24:09 +02:00
async-thread.c
async-thread.h
backref.c
backref.h
compression.h btrfs-progs: minor source sync with kernel 6.4 2023-06-27 16:15:35 +02:00
ctree.c btrfs-progs: kernel-shared: add helper write_extent_buffer_chunk_tree_uuid 2023-06-27 23:40:56 +02:00
ctree.h btrfs-progs: kernel-shared: add helper write_extent_buffer_chunk_tree_uuid 2023-06-27 23:40:56 +02:00
delayed-ref.c btrfs-progs: minor source sync with kernel 6.4 2023-06-27 16:15:35 +02:00
delayed-ref.h
dir-item.c btrfs-progs: minor source sync with kernel 6.4 2023-06-27 16:15:35 +02:00
disk-io.c btrfs-progs: rename struct open_ctree_flags to open_ctree_args 2023-07-26 15:00:47 +02:00
disk-io.h btrfs-progs: rename struct open_ctree_flags to open_ctree_args 2023-07-26 15:00:47 +02:00
extent_io.c btrfs-progs: kernel-shared: add helper write_extent_buffer_chunk_tree_uuid 2023-06-27 23:40:56 +02:00
extent_io.h btrfs-progs: kernel-shared: add helper write_extent_buffer_chunk_tree_uuid 2023-06-27 23:40:56 +02:00
extent-io-tree.c
extent-io-tree.h
extent-tree.c
file-item.c btrfs-progs: tune: add the ability to generate new data checksums 2023-05-26 18:02:32 +02:00
file-item.h btrfs-progs: tune: add the ability to generate new data checksums 2023-05-26 18:02:32 +02:00
file.c
free-space-cache.c
free-space-cache.h
free-space-tree.c
free-space-tree.h
inode-item.c
inode.c
locking.c
locking.h
messages.c
messages.h
misc.h
print-tree.c btrfs-progs: dump-super: print actual metadata_uuid value 2023-08-23 19:36:31 +02:00
print-tree.h
README.md
root-tree.c btrfs-progs: minor source sync with kernel 6.4 2023-06-27 16:15:35 +02:00
send.h
transaction.c
transaction.h
tree-checker.c btrfs-progs: tune: add the ability to generate new data checksums 2023-05-26 18:02:32 +02:00
tree-checker.h
tree-mod-log.h
ulist.c
ulist.h
uuid-tree.c
volumes.c btrfs-progs: track active metadata_uuid per fs_devices 2023-08-28 17:24:22 +02:00
volumes.h btrfs-progs: track active metadata_uuid per fs_devices 2023-08-28 17:24:22 +02:00
zoned.c
zoned.h

Shared sources with kernel

Status and progress of kernel/userspace synchronization.

  • accessors.c - done, local changes
  • accessors.h - done, local changes
  • async-thread.c - done
  • async-thread.h - done
  • backref.c - todo
  • backref.h - todo
  • compression.h - done
  • ctree.c - partial
  • ctree.h - partial
  • delayed-ref.c - partial
  • delayed-ref.h - partial
  • dir-item.c - partial
  • disk-io.c - todo
  • disk-io.h - todo
  • extent_io.c
  • extent_io.h
  • extent-io-tree.c - done, local changes
  • extent-io-tree.h - done, local changes
  • extent-tree.c - todo
  • file.c - todo
  • file-item.c - todo
  • file-item.h - partial
  • free-space-cache.c - not needed
  • free-space-cache.h - not needed
  • free-space-tree.c - partial
  • free-space-tree.h - partial
  • inode.c - todo
  • inode-item.c - partial
  • locking.c - done, local changes
  • locking.h - done, local changes
  • messages.c - done, local changes
  • messages.h - done, local changes
  • misc.h - done
  • print-tree.c - partial, sync to kernel
  • print-tree.h - partial
  • root-tree.c - partial
  • root-tree.h - done
  • send.h - done
  • transaction.c - todo
  • transaction.h - partial, local changes
  • tree-checker.c - partial, local changes
  • tree-checker.h - partial, local changes
  • tree-mod-log.h - done, local changes
  • ulist.c - done
  • ulist.h - done
  • uuid-tree.c - partial
  • volumes.c - todo, local changes
  • volumes.h - todo, local changes
  • zoned.c - todo
  • zoned.h - todo