Home
last modified time | relevance | path

Searched refs:new_chunk_sectors (Results 1 – 7 of 7) sorted by relevance

/drivers/md/
Ddm-raid.c225 int new_chunk_sectors; member
265 l->new_chunk_sectors = mddev->new_chunk_sectors; in rs_config_backup()
274 mddev->new_chunk_sectors = l->new_chunk_sectors; in rs_config_restore()
716 mddev->new_chunk_sectors = mddev->chunk_sectors; in rs_set_cur()
729 mddev->chunk_sectors = mddev->new_chunk_sectors; in rs_set_new()
1159 rs->md.new_chunk_sectors = rs->md.chunk_sectors = value; in parse_raid_params()
1539 uint32_t min_stripes = max(mddev->chunk_sectors, mddev->new_chunk_sectors) / 2; in rs_set_raid456_stripe_cache()
1879 rs->md.new_chunk_sectors != rs->md.chunk_sectors; in rs_is_layout_change()
2130 sb->new_stripe_sectors = cpu_to_le32(mddev->new_chunk_sectors); in super_sync()
2243 mddev->new_chunk_sectors = le32_to_cpu(sb->new_stripe_sectors); in super_init_validation()
[all …]
Draid0.c691 mddev->new_chunk_sectors = mddev->chunk_sectors; in raid0_takeover_raid45()
733 mddev->new_chunk_sectors = mddev->chunk_sectors; in raid0_takeover_raid10()
776 mddev->new_chunk_sectors = chunksect; in raid0_takeover_raid1()
Draid5.c7199 if (!mddev->new_chunk_sectors || in setup_conf()
7200 (mddev->new_chunk_sectors << 9) % PAGE_SIZE || in setup_conf()
7201 !is_power_of_2(mddev->new_chunk_sectors)) { in setup_conf()
7203 mdname(mddev), mddev->new_chunk_sectors << 9); in setup_conf()
7311 conf->chunk_sectors = mddev->new_chunk_sectors; in setup_conf()
7368 ((mddev->new_chunk_sectors << 9) / RAID5_STRIPE_SIZE(conf)) * 4); in setup_conf()
7545 chunk_sectors = max(mddev->chunk_sectors, mddev->new_chunk_sectors); in raid5_run()
7568 abs(min_offset_diff) >= mddev->new_chunk_sectors) in raid5_run()
7592 BUG_ON(mddev->chunk_sectors != mddev->new_chunk_sectors); in raid5_run()
8124 ((mddev->new_chunk_sectors << 9) / RAID5_STRIPE_SIZE(conf)) * 4 in check_stripe_cache()
[all …]
Dmd.c1344 mddev->new_chunk_sectors = sb->new_chunk >> 9; in super_90_validate()
1352 mddev->new_chunk_sectors = mddev->chunk_sectors; in super_90_validate()
1488 sb->new_chunk = mddev->new_chunk_sectors << 9; in super_90_sync()
1883 mddev->new_chunk_sectors = le32_to_cpu(sb->new_chunk); in super_1_validate()
1894 mddev->new_chunk_sectors = mddev->chunk_sectors; in super_1_validate()
2096 sb->new_chunk = cpu_to_le32(mddev->new_chunk_sectors); in super_1_sync()
4069 mddev->new_chunk_sectors = mddev->chunk_sectors; in level_store()
4092 mddev->chunk_sectors = mddev->new_chunk_sectors; in level_store()
4294 mddev->chunk_sectors != mddev->new_chunk_sectors) in chunk_size_show()
4296 mddev->new_chunk_sectors << 9, in chunk_size_show()
[all …]
Dmd.h350 int new_chunk_sectors; member
Draid1.c3267 if (mddev->chunk_sectors != mddev->new_chunk_sectors || in raid1_reshape()
3270 mddev->new_chunk_sectors = mddev->chunk_sectors; in raid1_reshape()
3370 mddev->new_chunk_sectors = 0; in raid1_takeover()
Draid10.c3980 chunk = mddev->new_chunk_sectors; in setup_geo()
3987 chunk = mddev->new_chunk_sectors; in setup_geo()
4408 mddev->new_chunk_sectors = mddev->chunk_sectors; in raid10_takeover_raid0()