btrfs-progs/tune
David Sterba c92b635cb7 btrfs-progs: unify init sequence of standalone utilities
Each utility that starts from main() (and is considered commonly used)
should init fastest checksum implementation and set up config. This was
properly done only in btrfs.c, fix it in btrfs-image, btrfs-convert and
btrfstune as all of them do a lot of checksum calculations. Other
standalone utilities do not need to do that.

- cpu_detect_flags();
- hash_init_accel();
- btrfs_config_init();

Signed-off-by: David Sterba <dsterba@suse.com>
2025-02-11 20:43:28 +01:00
..
change-csum.c btrfs-progs: change-csum: switch to UASSERT 2024-08-14 23:58:22 +02:00
change-metadata-uuid.c btrfs-progs: clean up includes, using include-what-you-use 2023-10-03 01:11:57 +02:00
change-uuid.c btrfs-progs: clean up includes, using include-what-you-use 2023-10-03 01:11:57 +02:00
convert-bgt.c btrfs-progs: tune: add the missing newline for --convert-from-block-group-tree 2024-04-02 20:49:55 +02:00
main.c btrfs-progs: unify init sequence of standalone utilities 2025-02-11 20:43:28 +01:00
quota.c btrfs-progs: btrfstune: add ability to remove squotas 2025-01-06 14:19:28 +01:00
seeding.c btrfs-progs: clean up includes, using include-what-you-use 2023-10-03 01:11:57 +02:00
tune.h btrfs-progs: clean up includes 2025-01-16 19:13:26 +01:00