aboutsummaryrefslogtreecommitdiff
path: root/fs/statfs.c
diff options
context:
space:
mode:
authorNaohiro Aota2020-02-25 12:56:15 +0900
committerDavid Sterba2020-03-23 17:01:49 +0100
commit6aafb3038454bf137463f2c2096065ba9a452ccc (patch)
treead35458dfc86b7e197688de9452173131af5a184 /fs/statfs.c
parentdce580ca403a3e99806a39d54bcb0ad631dee01f (diff)
btrfs: parameterize dev_extent_min for chunk allocation
Currently, we ignore a device whose available space is less than "BTRFS_STRIPE_LEN * dev_stripes". This is a lower limit for current allocation policy (to maximize the number of stripes). This commit parameterizes dev_extent_min, so that other policies can set their own lower limitat to ignore a device with insufficient space. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions