Home
last modified time | relevance | path

Searched refs:reshape_backwards (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-raid.c2140 if (mddev->delta_disks < 0 || mddev->reshape_backwards) in super_sync()
2256 mddev->reshape_backwards = 1; in super_init_validation()
2258 mddev->reshape_backwards = 0; in super_init_validation()
2893 mddev->reshape_backwards = 0; /* adding disk(s) -> forward reshape */ in rs_setup_reshape()
2898 mddev->reshape_backwards = 1; /* removing disk(s) -> backward reshape */ in rs_setup_reshape()
2923 mddev->reshape_backwards = rs->dev[0].rdev.data_offset ? 0 : 1; in rs_setup_reshape()
2930 if (!mddev->reshape_backwards) in rs_setup_reshape()
2948 rs->md.reshape_backwards = 0; in rs_reset_inconclusive_reshape()
Dmd.c680 mddev->reshape_backwards = 0; in mddev_init()
988 (rdev->mddev->reshape_backwards == in sync_page_io()
1296 mddev->reshape_backwards = 0; in super_90_validate()
1305 mddev->reshape_backwards = 1; in super_90_validate()
1808 mddev->reshape_backwards = 0; in super_1_validate()
1844 mddev->reshape_backwards = 1; in super_1_validate()
2022 mddev->reshape_backwards) in super_1_sync()
3286 mddev->reshape_backwards) in new_offset_store()
3293 !mddev->reshape_backwards) in new_offset_store()
3302 mddev->reshape_backwards = 1; in new_offset_store()
[all …]
Draid10.c658 conf->mddev->reshape_backwards)) { in raid10_find_phys()
1433 (mddev->reshape_backwards in raid10_write_request()
4174 if (!mddev->reshape_backwards) in raid10_run()
4567 if (!mddev->reshape_backwards) in raid10_start_reshape()
4596 if (mddev->reshape_backwards) { in raid10_start_reshape()
4801 if (mddev->reshape_backwards && in reshape_request()
4805 } else if (!mddev->reshape_backwards && in reshape_request()
4820 if (mddev->reshape_backwards) { in reshape_request()
4871 if (mddev->reshape_backwards) in reshape_request()
5014 if (mddev->reshape_backwards) in reshape_request()
[all …]
Draid5.c5882 return mddev->reshape_backwards ? sector < reshape_sector : in ahead_of_reshape()
5889 return mddev->reshape_backwards ? max < reshape_sector : in range_ahead_of_reshape()
6229 if (mddev->reshape_backwards && in reshape_request()
6233 } else if (mddev->reshape_backwards && in reshape_request()
6237 } else if (!mddev->reshape_backwards && in reshape_request()
6269 if (mddev->reshape_backwards) { in reshape_request()
6287 if (mddev->reshape_backwards) { in reshape_request()
6325 if ((mddev->reshape_backwards in reshape_request()
6337 if (!mddev->reshape_backwards) in reshape_request()
6394 if (mddev->reshape_backwards) in reshape_request()
[all …]
Dmd.h368 int reshape_backwards; member