MD_RECOVERY_SYNC
if (test_bit(MD_RECOVERY_SYNC, &recovery)) {
set_bit(MD_RECOVERY_SYNC, &mddev->recovery);
set_bit(MD_RECOVERY_SYNC, &mddev->recovery);
test_bit(MD_RECOVERY_SYNC, &mddev->recovery) &&
set_bit(MD_RECOVERY_SYNC, &mddev->recovery);
clear_bit(MD_RECOVERY_SYNC, &mddev->recovery);
if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery))
clear_bit(MD_RECOVERY_SYNC, &mddev->recovery);
clear_bit(MD_RECOVERY_SYNC, &mddev->recovery);
if (test_bit(MD_RECOVERY_SYNC, &recovery)) {
set_bit(MD_RECOVERY_SYNC, &mddev->recovery);
if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) ||
if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) ||
(test_bit(MD_RECOVERY_SYNC, &mddev->recovery) ?
if (!(test_bit(MD_RECOVERY_SYNC, &mddev->recovery) ||
if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) &&
set_bit(MD_RECOVERY_SYNC, &mddev->recovery);
!test_bit(MD_RECOVERY_SYNC, &mddev->recovery))))
test_bit(MD_RECOVERY_SYNC, &mddev->recovery) &&
if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) && read_targets > 0)
if (test_bit(MD_RECOVERY_SYNC, &conf->mddev->recovery) ||
if (!j || test_bit(MD_RECOVERY_SYNC,
if (test_bit(MD_RECOVERY_SYNC, &conf->mddev->recovery) ||
!test_bit(MD_RECOVERY_SYNC, &mddev->recovery) &&
if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery))
&& test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) {
if (!test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) {
test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) {
clear_bit(MD_RECOVERY_SYNC, &mddev->recovery);
clear_bit(MD_RECOVERY_SYNC, &mddev->recovery);
test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) {
clear_bit(MD_RECOVERY_SYNC, &mddev->recovery);
clear_bit(MD_RECOVERY_SYNC, &mddev->recovery);