Searched refs:new_layout (Results 1 – 9 of 9) sorted by relevance
221 int new_layout; member259 l->new_layout = mddev->new_layout; in rs_config_backup()268 mddev->new_layout = l->new_layout; in rs_config_restore()428 (rs_is_raid10(rs) && !__is_raid10_far(rs->md.new_layout)); in rs_is_reshapable()712 mddev->new_layout = mddev->layout; in rs_set_cur()725 mddev->layout = mddev->new_layout; in rs_set_new()760 rs->md.new_layout = rs->md.layout; in raid_set_alloc()1023 copies = raid10_md_layout_to_copies(rs->md.new_layout); in validate_raid_redundancy()1046 if (__is_raid10_near(rs->md.new_layout)) { in validate_raid_redundancy()1498 rs->md.new_layout = raid10_format_to_md_layout(rs, raid10_format, raid10_copies); in parse_raid_params()[all …]
265 int mode = mddev->new_layout & ModeMask; in faulty_reshape()266 int count = mddev->new_layout >> ModeShift; in faulty_reshape()269 if (mddev->new_layout < 0) in faulty_reshape()287 mddev->new_layout = -1; in faulty_reshape()
6875 && !algorithm_valid_raid5(mddev->new_layout)) || in setup_conf()6877 && !algorithm_valid_raid6(mddev->new_layout))) { in setup_conf()6879 mdname(mddev), mddev->new_layout); in setup_conf()7038 conf->algorithm = mddev->new_layout; in setup_conf()7256 BUG_ON(mddev->layout != mddev->new_layout); in raid5_run()7376 mddev->new_layout); in raid5_run()7794 mddev->new_layout == mddev->layout && in check_reshape()7878 conf->algorithm = mddev->new_layout; in raid5_start_reshape()7952 mddev->new_layout = conf->algorithm = conf->prev_algo; in raid5_start_reshape()8086 mddev->new_layout = ALGORITHM_PARITY_N; in raid45_takeover_raid0()[all …]
639 mddev->new_layout = 0; in raid0_takeover_raid45()681 mddev->new_layout = 0; in raid0_takeover_raid10()724 mddev->new_layout = 0; in raid0_takeover_raid1()
1168 mddev->new_layout = sb->new_layout; in super_90_validate()1176 mddev->new_layout = mddev->layout; in super_90_validate()1310 sb->new_layout = mddev->new_layout; in super_90_sync()1690 mddev->new_layout = le32_to_cpu(sb->new_layout); in super_1_validate()1701 mddev->new_layout = mddev->layout; in super_1_validate()1858 sb->new_layout = cpu_to_le32(mddev->new_layout); in super_1_sync()3762 mddev->new_layout = mddev->layout; in level_store()3785 mddev->layout = mddev->new_layout; in level_store()3878 mddev->layout != mddev->new_layout) in layout_show()3880 mddev->new_layout, mddev->layout); in layout_show()[all …]
326 int delta_disks, new_level, new_layout; member
3618 layout = mddev->new_layout; in setup_geo()3625 layout = mddev->new_layout; in setup_geo()3680 mdname(mddev), mddev->new_layout); in setup_conf()4055 mddev->new_layout = (1<<8) + 2; in raid10_takeover_raid0()4862 mddev->layout = mddev->new_layout; in raid10_finish_reshape()
3207 mddev->layout != mddev->new_layout || in raid1_reshape()3210 mddev->new_layout = mddev->layout; in raid1_reshape()3308 mddev->new_layout = 0; in raid1_takeover()
185 __u32 new_layout; /* 16 new layout */ member263 __le32 new_layout; /* new layout */ member