Home
last modified time | relevance | path

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

/fs/btrfs/tests/
Dextent-map-tests.c444 u64 raid_type; member
488 map->type = test->raid_type; in test_rmap_block()
563 .raid_type = BTRFS_BLOCK_GROUP_RAID1, in btrfs_test_extent_map()
580 .raid_type = 0, in btrfs_test_extent_map()
/fs/btrfs/
Dblock-group.c59 u64 raid_type; in btrfs_reduce_alloc_profile() local
75 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()
76 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()
77 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()
Ddisk-io.c4104 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
4113 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
4114 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
4116 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()
4119 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()