btrfs-progs/cmds
David Sterba 7674317139 btrfs-progs: fi usage: use one formula for chunk size calculation
The profile descriptions allow us to use a single formula to calculate
chunk size. Right now there are no profiles with parity (raid5-like) and
sub_stripes (raid10-like), which makes it easier.

- parity stripes are subtracted from the total count
- then divided by number of sub stripes

Practically speaking, 1:1 copy profiles do not have any adjustments.

Signed-off-by: David Sterba <dsterba@suse.com>
2021-10-20 18:59:24 +02:00
..
balance.c btrfs-progs: factor out profile parsing to common utils 2021-09-07 13:58:44 +02:00
commands.h btrfs-progs: split subvolume list to its own file 2021-10-08 20:47:03 +02:00
device.c btrfs-progs: device remove: add support for cancel 2021-05-20 22:14:18 +02:00
filesystem-du.c btrfs-progs: split unit related helpers from utils.c 2021-05-06 16:41:47 +02:00
filesystem-usage.c btrfs-progs: fi usage: use one formula for chunk size calculation 2021-10-20 18:59:24 +02:00
filesystem-usage.h
filesystem.c btrfs-progs: fix comments in cmd_filesystem_show 2021-10-06 16:50:46 +02:00
inspect-dump-super.c
inspect-dump-tree.c btrfs-progs: dump-tree: add options to dump checksums 2021-06-19 22:07:49 +02:00
inspect-tree-stats.c btrfs-progs: switch %Lu to %llu format 2021-06-19 22:07:49 +02:00
inspect.c btrfs-progs: use btrfs_subvolid_resolve instead of btrfs_list_path_for_root 2021-10-08 20:47:03 +02:00
property.c btrfs-progs: prop set: ro->rw and received_uuid 2021-10-07 18:40:26 +02:00
props.h btrfs-progs: prop set: add force parameter 2021-10-07 18:40:24 +02:00
qgroup.c btrfs-progs: move all private definitions to cmds/qgroup.c 2021-09-07 19:21:14 +02:00
qgroup.h btrfs-progs: move all private definitions to cmds/qgroup.c 2021-09-07 19:21:14 +02:00
quota.c
receive-dump.c btrfs-progs: remove unused prototypes from send-utils.h 2021-10-08 20:47:04 +02:00
receive-dump.h btrfs-progs: unify GPL header comments 2021-09-07 13:58:44 +02:00
receive.c btrfs-progs: simplify struct subvol_uuid_search use 2021-10-08 20:47:04 +02:00
replace.c btrfs-progs: replace start: add option -K/--nodiscard 2021-10-06 16:49:35 +02:00
rescue-chunk-recover.c btrfs-progs: chunk-recover: use btrfs_bg_type_to_sub_stripes 2021-10-20 18:59:24 +02:00
rescue-super-recover.c
rescue.c
rescue.h btrfs-progs: unify GPL header comments 2021-09-07 13:58:44 +02:00
restore.c btrfs-progs: introduce OPEN_CTREE_ALLOW_TRANSID_MISMATCH flag 2021-09-20 12:17:29 +02:00
scrub.c btrfs-progs: split unit related helpers from utils.c 2021-05-06 16:41:47 +02:00
send.c btrfs-progs: simplify struct subvol_uuid_search use 2021-10-08 20:47:04 +02:00
subvolume-list.c btrfs-progs: subvol list: open code list_subvol_fill_paths in its caller 2021-10-08 20:47:04 +02:00
subvolume.c btrfs-progs: subvol find-new: copy code from btrfs-list.c 2021-10-08 20:47:03 +02:00