Home
last modified time | relevance | path

Searched refs:raid_type (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/btrfs/
Ddisk-io.c3709 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
3718 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
3719 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
3721 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()
3724 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
Dextent-tree.c4013 u64 raid_type; in btrfs_reduce_alloc_profile() local
4032 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()
4033 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()
4034 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()