Searched refs:delta_disks (Results 1 – 9 of 9) sorted by relevance
238 int delta_disks; member731 mddev->delta_disks = 0; in rs_set_new()754 rs->delta_disks = 0; in raid_set_alloc()764 rs->md.delta_disks = 0; in raid_set_alloc()1396 rs->delta_disks = value; in parse_raid_params()1625 int delta_disks; in rs_set_dev_and_array_sectors() local1631 delta_disks = mddev->delta_disks; in rs_set_dev_and_array_sectors()1634 delta_disks = rs->delta_disks; in rs_set_dev_and_array_sectors()1643 delta_disks < 0) { in rs_set_dev_and_array_sectors()1652 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()[all …]
623 mddev->delta_disks = -1; in raid0_takeover_raid45()664 mddev->delta_disks = - mddev->raid_disks / 2; in raid0_takeover_raid10()665 mddev->raid_disks += mddev->delta_disks; in raid0_takeover_raid10()708 mddev->delta_disks = 1 - mddev->raid_disks; in raid0_takeover_raid1()
1295 mddev->delta_disks = sb->delta_disks; in super_90_validate()1299 if (mddev->delta_disks < 0) in super_90_validate()1303 mddev->delta_disks = 0; in super_90_validate()1440 sb->delta_disks = mddev->delta_disks; in super_90_sync()1831 mddev->delta_disks = le32_to_cpu(sb->delta_disks); in super_1_validate()1835 if (mddev->delta_disks < 0 || in super_1_validate()1836 (mddev->delta_disks == 0 && in super_1_validate()1842 mddev->delta_disks = 0; in super_1_validate()2013 sb->delta_disks = cpu_to_le32(mddev->delta_disks); in super_1_sync()2016 if (mddev->delta_disks == 0 && in super_1_sync()[all …]
3959 disks = mddev->raid_disks - mddev->delta_disks; in setup_geo()3971 disks = mddev->raid_disks + mddev->delta_disks; in setup_geo()4034 conf->mirrors = kcalloc(mddev->raid_disks + max(0, -mddev->delta_disks), in setup_conf()4382 mddev->delta_disks = mddev->raid_disks; in raid10_takeover_raid0()4461 if (mddev->delta_disks > 0) { in raid10_check_reshape()4464 kcalloc(mddev->raid_disks + mddev->delta_disks, in raid10_check_reshape()4582 if (spares < mddev->delta_disks) in raid10_start_reshape()4613 if (mddev->delta_disks && mddev->bitmap) { in raid10_start_reshape()4654 if (mddev->delta_disks > 0) { in raid10_start_reshape()5223 if (mddev->delta_disks > 0) { in raid10_finish_reshape()[all …]
7528 conf->previous_raid_disks = mddev->raid_disks - mddev->delta_disks; in setup_conf()7803 old_disks = mddev->raid_disks - mddev->delta_disks; in raid5_run()7826 if (mddev->delta_disks == 0) { in raid5_run()7860 BUG_ON(mddev->delta_disks != 0); in raid5_run()8420 if (mddev->delta_disks == 0 && in check_reshape()8426 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()8435 if (mddev->raid_disks + mddev->delta_disks < min) in check_reshape()8443 mddev->delta_disks > 0) in check_reshape()8446 + max(0, mddev->delta_disks), in check_reshape()8452 if (conf->previous_raid_disks + mddev->delta_disks <= conf->pool_size) in check_reshape()[all …]
366 int delta_disks, new_level, new_layout; member
3281 raid_disks = mddev->raid_disks + mddev->delta_disks; in raid1_reshape()3341 mddev->delta_disks = 0; in raid1_reshape()
184 __u32 delta_disks; /* 15 change in number of raid_disks */ member262 __le32 delta_disks; /* change in number of raid_disks */ member
172 [delta_disks <N>]173 The delta_disks option value (-251 < N < +251) triggers