Home
last modified time | relevance | path

Searched refs:delta_disks (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/include/linux/raid/
Dmd_p.h163 __u32 delta_disks; /* 15 change in number of raid_disks */ member
233 __le32 delta_disks; /* change in number of raid_disks */ member
/linux-2.6.39/drivers/md/
Draid0.c588 mddev->delta_disks = -1; in raid0_takeover_raid45()
627 mddev->delta_disks = - mddev->raid_disks / 2; in raid0_takeover_raid10()
628 mddev->raid_disks += mddev->delta_disks; in raid0_takeover_raid10()
654 mddev->delta_disks = 1 - mddev->raid_disks; in raid0_takeover_raid1()
Draid5.c3969 if (mddev->delta_disks < 0 in make_request()
3975 if (mddev->delta_disks < 0 in make_request()
4008 if (mddev->delta_disks < 0 in make_request()
4109 if (mddev->delta_disks < 0 && in reshape_request()
4113 } else if (mddev->delta_disks >= 0 && in reshape_request()
4148 if (mddev->delta_disks < 0) { in reshape_request()
4175 if ((mddev->delta_disks < 0 in reshape_request()
4196 if (mddev->delta_disks < 0) { in reshape_request()
4240 if (mddev->delta_disks < 0) in reshape_request()
4829 conf->previous_raid_disks = mddev->raid_disks - mddev->delta_disks; in setup_conf()
[all …]
Dmd.c1126 mddev->delta_disks = sb->delta_disks; in super_90_validate()
1132 mddev->delta_disks = 0; in super_90_validate()
1260 sb->delta_disks = mddev->delta_disks; in super_90_sync()
1549 mddev->delta_disks = le32_to_cpu(sb->delta_disks); in super_1_validate()
1555 mddev->delta_disks = 0; in super_1_validate()
1660 sb->delta_disks = cpu_to_le32(mddev->delta_disks); in super_1_sync()
2188 mddev->delta_disks >= 0 && in md_update_sb()
2496 slot >= rdev->mddev->raid_disks + rdev->mddev->delta_disks) in slot_store()
2517 slot >= rdev->mddev->raid_disks + rdev->mddev->delta_disks) in slot_store()
2919 } else if (rdev->raid_disk >= (mddev->raid_disks - min(0, mddev->delta_disks))) { in analyze_sbs()
[all …]
Dmd.h179 int delta_disks, new_level, new_layout; member
Ddm-raid.c129 rs->md.delta_disks = 0; in context_alloc()
Draid1.c2110 raid_disks = mddev->raid_disks + mddev->delta_disks; in raid1_reshape()
2174 mddev->delta_disks = 0; in raid1_reshape()
Draid10.c2411 mddev->delta_disks = mddev->raid_disks; in raid10_takeover_raid0()