Home
last modified time | relevance | path

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

/fs/btrfs/tests/
A Dextent-map-tests.c1000 u64 raid_type; member
1031 map->type = test->raid_type; in test_rmap_block()
1100 .raid_type = BTRFS_BLOCK_GROUP_RAID1, in btrfs_test_extent_map()
1117 .raid_type = 0, in btrfs_test_extent_map()
/fs/btrfs/
A Ddisk-io.c3973 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
3982 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
3983 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
3985 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()
3988 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
A Dblock-group.c89 u64 raid_type; in btrfs_reduce_alloc_profile() local
105 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()
106 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()
107 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()

Completed in 21 milliseconds