Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Dmd.c2664 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
2693 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb()
2811 !bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
4355 if (test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in array_state_show()
4396 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in array_state_store()
4470 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in array_state_store()
6294 if (mddev->external && test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in md_set_readonly()
6300 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in md_set_readonly()
7679 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in md_ioctl()
8530 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()
2429 if (test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in r5c_recovery_flush_data_only_stripes()
2431 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in r5c_recovery_flush_data_only_stripes()
2448 set_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in r5c_recovery_flush_data_only_stripes()
Dmd.h280 MD_SB_CHANGE_PENDING, /* switch from 'clean' to 'active' in progress */ enumerator
Draid1.c1686 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid1_error()
2567 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid1d()
2570 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in raid1d()
2620 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid1d()
Draid10.c1441 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid10_write_request()
1450 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in raid10_write_request()
2050 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid10_error()
3099 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d()
3102 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d()
3155 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid10d()
Draid5.c2985 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid5_error()
5041 test_bit(MD_SB_CHANGE_PENDING, &conf->mddev->sb_flags)) { in handle_stripe()
6707 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags), in raid5_do_work()
6782 if (mddev->sb_flags & ~(1 << MD_SB_CHANGE_PENDING)) { in raid5d()
6796 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags), in raid5d()