Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Dmd.c2540 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
2569 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb()
2689 !bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
4212 if (test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in array_state_show()
4254 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in array_state_store()
4328 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in array_state_store()
6057 if (mddev->external && test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in md_set_readonly()
6063 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in md_set_readonly()
7476 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in md_ioctl()
8266 set_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_write_start()
[all …]
Dmd.h262 MD_SB_CHANGE_PENDING, /* switch from 'clean' to 'active' in progress */ enumerator
Draid10.c1332 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid10_write_request()
1336 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in raid10_write_request()
1665 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid10_error()
2724 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d()
2727 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d()
2780 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid10d()
Draid1.c1647 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid1_error()
2535 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid1d()
2538 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in raid1d()
2588 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid1d()
Draid5-cache.c698 (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags) && in r5c_disable_writeback_async()
1339 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in r5l_write_super_and_discard_space()
Draid5.c2699 BIT(MD_SB_CHANGE_DEVS) | BIT(MD_SB_CHANGE_PENDING)); in raid5_error()
4723 test_bit(MD_SB_CHANGE_PENDING, &conf->mddev->sb_flags)) { in handle_stripe()
6256 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags), in raid5_do_work()
6331 if (mddev->sb_flags & ~(1 << MD_SB_CHANGE_PENDING)) { in raid5d()