Lines Matching refs:cache_state
652 if (!test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) { in raid5_get_active_stripe()
655 &conf->cache_state)) in raid5_get_active_stripe()
657 &conf->cache_state); in raid5_get_active_stripe()
665 &conf->cache_state); in raid5_get_active_stripe()
673 &conf->cache_state)), in raid5_get_active_stripe()
676 &conf->cache_state); in raid5_get_active_stripe()
3075 if (test_bit(R5C_LOG_CRITICAL, &conf->cache_state) && in delay_towrite()
3937 &conf->cache_state)) { in handle_stripe_dirtying()
5089 if (test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) in raid5_congested()
5093 if (test_bit(R5C_LOG_TIGHT, &conf->cache_state)) in raid5_congested()
5319 bool try_loprio = test_bit(R5C_LOG_TIGHT, &conf->cache_state) || in __get_priority_stripe()
6285 clear_bit(R5_DID_ALLOC, &conf->cache_state); in raid5d()
6324 if (test_and_clear_bit(R5_ALLOC_MORE, &conf->cache_state) && in raid5d()
6330 set_bit(R5_DID_ALLOC, &conf->cache_state); in raid5d()