mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
btrfs: use raid_attr to adjust minimal stripe size in btrfs_calc_avail_data_space
Special case for DUP can be replaced by lookup to the attribute table, where the dev_stripes is the right coefficient. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f262fa8de6
commit
4f080f5711
1 changed files with 5 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue