Home
last modified time | relevance | path

Searched refs:MD_SB_CHANGE_PENDING (Results 1 – 6 of 6) sorted by relevance

/drivers/md/
Dmd.c2746 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
2775 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb()
2895 !bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
4448 if (test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in array_state_show()
4490 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in array_state_store()
4564 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in array_state_store()
6348 if (mddev->external && test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in md_set_readonly()
6367 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in md_set_readonly()
7747 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in md_ioctl()
8579 set_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_write_start()
[all …]
Draid5-cache.c696 (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags) && in r5c_disable_writeback_async()
1337 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in r5l_write_super_and_discard_space()
2436 if (test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in r5c_recovery_flush_data_only_stripes()
2438 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in r5c_recovery_flush_data_only_stripes()
2455 set_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in r5c_recovery_flush_data_only_stripes()
Dmd.h278 MD_SB_CHANGE_PENDING, /* switch from 'clean' to 'active' in progress */ enumerator
Draid1.c1658 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid1_error()
2549 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid1d()
2552 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in raid1d()
2602 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid1d()
Draid10.c1443 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid10_write_request()
1452 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in raid10_write_request()
2049 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid10_error()
3118 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d()
3121 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d()
3174 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid10d()
Draid5.c2905 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid5_error()
4936 test_bit(MD_SB_CHANGE_PENDING, &conf->mddev->sb_flags)) { in handle_stripe()
6446 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags), in raid5_do_work()
6521 if (mddev->sb_flags & ~(1 << MD_SB_CHANGE_PENDING)) { in raid5d()
6535 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags), in raid5d()