Lines Matching refs:set_bit

243 		set_bit(STRIPE_HANDLE, &sh->state);  in do_release_stripe()
611 set_bit(STRIPE_BATCH_READY, &sh->state); in init_stripe()
735 set_bit(R5_ALLOC_MORE, in raid5_get_active_stripe()
743 set_bit(R5_INACTIVE_BLOCKED, in raid5_get_active_stripe()
927 set_bit(STRIPE_BIT_DELAY, &sh->batch_head->state); in stripe_add_to_batch_list()
1157 set_bit(BlockedBadBlocks, &rdev->flags); in ops_run_io()
1185 set_bit(STRIPE_IO_STARTED, &sh->state); in ops_run_io()
1232 set_bit(R5_DOUBLE_LOCKED, &sh->dev[i].flags); in ops_run_io()
1248 set_bit(STRIPE_IO_STARTED, &sh->state); in ops_run_io()
1292 set_bit(STRIPE_DEGRADED, &sh->state); in ops_run_io()
1296 set_bit(STRIPE_HANDLE, &sh->state); in ops_run_io()
1410 set_bit(STRIPE_HANDLE, &sh->state); in ops_complete_biofill()
1456 set_bit(R5_UPTODATE, &tgt->flags); in mark_target_uptodate()
1475 set_bit(STRIPE_HANDLE, &sh->state); in ops_complete_compute()
1899 set_bit(R5_WantFUA, &dev->flags); in ops_run_biodrain()
1901 set_bit(R5_SyncIO, &dev->flags); in ops_run_biodrain()
1903 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
1911 set_bit(R5_SkipCopy, &dev->flags); in ops_run_biodrain()
1956 set_bit(R5_UPTODATE, &dev->flags); in ops_complete_reconstruct()
1958 set_bit(R5_Expanded, &dev->flags); in ops_complete_reconstruct()
1961 set_bit(R5_WantFUA, &dev->flags); in ops_complete_reconstruct()
1963 set_bit(R5_SyncIO, &dev->flags); in ops_complete_reconstruct()
1976 set_bit(STRIPE_HANDLE, &sh->state); in ops_complete_reconstruct()
2008 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
2101 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
2102 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
2149 set_bit(STRIPE_HANDLE, &sh->state); in ops_complete_check()
2718 set_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
2740 set_bit(R5_OrigPageUPTDODATE, &sh->dev[i].flags); in raid5_end_read_request()
2789 set_bit(R5_ReadError, &sh->dev[i].flags); in raid5_end_read_request()
2791 set_bit(R5_ReadError, &sh->dev[i].flags); in raid5_end_read_request()
2794 set_bit(R5_ReadNoMerge, &sh->dev[i].flags); in raid5_end_read_request()
2808 set_bit(STRIPE_HANDLE, &sh->state); in raid5_end_read_request()
2854 set_bit(R5_MadeGoodRepl, &sh->dev[i].flags); in raid5_end_write_request()
2857 set_bit(STRIPE_DEGRADED, &sh->state); in raid5_end_write_request()
2858 set_bit(WriteErrorSeen, &rdev->flags); in raid5_end_write_request()
2859 set_bit(R5_WriteError, &sh->dev[i].flags); in raid5_end_write_request()
2861 set_bit(MD_RECOVERY_NEEDED, in raid5_end_write_request()
2866 set_bit(R5_MadeGood, &sh->dev[i].flags); in raid5_end_write_request()
2872 set_bit(R5_ReWrite, &sh->dev[i].flags); in raid5_end_write_request()
2878 set_bit(STRIPE_BATCH_ERR, &sh->batch_head->state); in raid5_end_write_request()
2883 set_bit(STRIPE_HANDLE, &sh->state); in raid5_end_write_request()
2900 set_bit(Faulty, &rdev->flags); in raid5_error()
2905 set_bit(MD_BROKEN, &conf->mddev->flags); in raid5_error()
2916 set_bit(MD_RECOVERY_INTR, &mddev->recovery); in raid5_error()
2918 set_bit(Blocked, &rdev->flags); in raid5_error()
3327 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3328 set_bit(R5_Wantdrain, &dev->flags); in schedule_reconstruction()
3333 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3346 set_bit(STRIPE_OP_BIODRAIN, &s->ops_request); in schedule_reconstruction()
3350 set_bit(STRIPE_OP_RECONSTRUCT, &s->ops_request); in schedule_reconstruction()
3370 set_bit(R5_Wantdrain, &dev->flags); in schedule_reconstruction()
3371 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3375 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3383 set_bit(STRIPE_OP_PREXOR, &s->ops_request); in schedule_reconstruction()
3384 set_bit(STRIPE_OP_BIODRAIN, &s->ops_request); in schedule_reconstruction()
3385 set_bit(STRIPE_OP_RECONSTRUCT, &s->ops_request); in schedule_reconstruction()
3391 set_bit(R5_LOCKED, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3399 set_bit(R5_LOCKED, &dev->flags); in schedule_reconstruction()
3408 set_bit(STRIPE_OP_PARTIAL_PARITY, &s->ops_request); in schedule_reconstruction()
3521 set_bit(STRIPE_BITMAP_PENDING, &sh->state); in add_stripe_bio()
3529 set_bit(STRIPE_BIT_DELAY, &sh->state); in add_stripe_bio()
3539 set_bit(R5_Overlap, &sh->dev[dd_idx].flags); in add_stripe_bio()
3880 set_bit(STRIPE_COMPUTE_RUN, &sh->state); in fetch_block()
3881 set_bit(STRIPE_OP_COMPUTE_BLK, &s->ops_request); in fetch_block()
3882 set_bit(R5_Wantcompute, &dev->flags); in fetch_block()
3910 set_bit(STRIPE_COMPUTE_RUN, &sh->state); in fetch_block()
3911 set_bit(STRIPE_OP_COMPUTE_BLK, &s->ops_request); in fetch_block()
3912 set_bit(R5_Wantcompute, &sh->dev[disk_idx].flags); in fetch_block()
3913 set_bit(R5_Wantcompute, &sh->dev[other].flags); in fetch_block()
3920 set_bit(R5_LOCKED, &dev->flags); in fetch_block()
3921 set_bit(R5_Wantread, &dev->flags); in fetch_block()
3965 set_bit(STRIPE_HANDLE, &sh->state); in handle_stripe_fill()
4063 set_bit(STRIPE_HANDLE, &sh->state); in handle_stripe_clean_event()
4144 set_bit(STRIPE_HANDLE, &sh->state); in handle_stripe_dirtying()
4175 set_bit(STRIPE_DELAYED, &sh->state); in handle_stripe_dirtying()
4194 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4195 set_bit(R5_Wantread, &dev->flags); in handle_stripe_dirtying()
4198 set_bit(STRIPE_DELAYED, &sh->state); in handle_stripe_dirtying()
4219 set_bit(R5_LOCKED, &dev->flags); in handle_stripe_dirtying()
4220 set_bit(R5_Wantread, &dev->flags); in handle_stripe_dirtying()
4224 set_bit(STRIPE_DELAYED, &sh->state); in handle_stripe_dirtying()
4235 set_bit(STRIPE_DELAYED, &sh->state); in handle_stripe_dirtying()
4260 set_bit(STRIPE_HANDLE, &sh->state); in handle_parity_checks5()
4268 set_bit(STRIPE_OP_CHECK, &s->ops_request); in handle_parity_checks5()
4288 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks5()
4290 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks5()
4293 set_bit(STRIPE_INSYNC, &sh->state); in handle_parity_checks5()
4314 set_bit(STRIPE_INSYNC, &sh->state); in handle_parity_checks5()
4319 set_bit(STRIPE_INSYNC, &sh->state); in handle_parity_checks5()
4327 set_bit(STRIPE_COMPUTE_RUN, &sh->state); in handle_parity_checks5()
4328 set_bit(STRIPE_OP_COMPUTE_BLK, &s->ops_request); in handle_parity_checks5()
4329 set_bit(R5_Wantcompute, in handle_parity_checks5()
4356 set_bit(STRIPE_HANDLE, &sh->state); in handle_parity_checks6()
4399 set_bit(STRIPE_OP_CHECK, &s->ops_request); in handle_parity_checks6()
4420 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4421 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6()
4426 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4427 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6()
4432 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4433 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6()
4438 set_bit(R5_LOCKED, &dev->flags); in handle_parity_checks6()
4439 set_bit(R5_Wantwrite, &dev->flags); in handle_parity_checks6()
4451 set_bit(STRIPE_INSYNC, &sh->state); in handle_parity_checks6()
4467 set_bit(STRIPE_INSYNC, &sh->state); in handle_parity_checks6()
4484 set_bit(STRIPE_INSYNC, &sh->state); in handle_parity_checks6()
4496 set_bit(STRIPE_COMPUTE_RUN, &sh->state); in handle_parity_checks6()
4497 set_bit(STRIPE_OP_COMPUTE_BLK, &s->ops_request); in handle_parity_checks6()
4499 set_bit(R5_Wantcompute, in handle_parity_checks6()
4506 set_bit(R5_Wantcompute, in handle_parity_checks6()
4564 set_bit(R5_Expanded, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4565 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4572 set_bit(STRIPE_EXPAND_READY, &sh2->state); in handle_stripe_expansion()
4573 set_bit(STRIPE_HANDLE, &sh2->state); in handle_stripe_expansion()
4632 set_bit(R5_Wantfill, &dev->flags); in analyse_stripe()
4663 set_bit(R5_ReadRepl, &dev->flags); in analyse_stripe()
4666 set_bit(R5_NeedReplace, &dev->flags); in analyse_stripe()
4681 set_bit(BlockedBadBlocks, in analyse_stripe()
4697 set_bit(R5_Insync, &dev->flags); in analyse_stripe()
4698 set_bit(R5_ReadError, &dev->flags); in analyse_stripe()
4701 set_bit(R5_Insync, &dev->flags); in analyse_stripe()
4704 set_bit(R5_Insync, &dev->flags); in analyse_stripe()
4711 set_bit(R5_Insync, &dev->flags); in analyse_stripe()
4874 set_bit(STRIPE_HANDLE, &sh->state); in break_stripe_batch_list()
4884 set_bit(STRIPE_HANDLE, &head_sh->state); in break_stripe_batch_list()
4913 set_bit(STRIPE_HANDLE, &sh->state); in handle_stripe()
4930 set_bit(STRIPE_SYNCING, &sh->state); in handle_stripe()
4951 set_bit(STRIPE_HANDLE, &sh->state); in handle_stripe()
4958 set_bit(STRIPE_HANDLE, &sh->state); in handle_stripe()
4967 set_bit(STRIPE_OP_BIOFILL, &s.ops_request); in handle_stripe()
4968 set_bit(STRIPE_BIOFILL_RUN, &sh->state); in handle_stripe()
5018 set_bit(R5_Wantwrite, &dev->flags); in handle_stripe()
5026 set_bit(STRIPE_INSYNC, &sh->state); in handle_stripe()
5139 set_bit(R5_WantReplace, &sh->dev[i].flags); in handle_stripe()
5140 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5144 set_bit(STRIPE_INSYNC, &sh->state); in handle_stripe()
5145 set_bit(STRIPE_REPLACED, &sh->state); in handle_stripe()
5167 set_bit(R5_Wantwrite, &dev->flags); in handle_stripe()
5168 set_bit(R5_ReWrite, &dev->flags); in handle_stripe()
5171 set_bit(R5_Wantread, &dev->flags); in handle_stripe()
5172 set_bit(R5_LOCKED, &dev->flags); in handle_stripe()
5185 set_bit(STRIPE_DELAYED, &sh->state); in handle_stripe()
5186 set_bit(STRIPE_HANDLE, &sh->state); in handle_stripe()
5199 set_bit(R5_Wantwrite, &sh->dev[i].flags); in handle_stripe()
5200 set_bit(R5_LOCKED, &sh->dev[i].flags); in handle_stripe()
5733 set_bit(R5_Overlap, &sh->dev[sh->pd_idx].flags); in make_discard_request()
5745 set_bit(R5_Overlap, &sh->dev[d].flags); in make_discard_request()
5752 set_bit(STRIPE_DISCARD, &sh->state); in make_discard_request()
5759 set_bit(R5_OVERWRITE, &sh->dev[d].flags); in make_discard_request()
5774 set_bit(STRIPE_BIT_DELAY, &sh->state); in make_discard_request()
5777 set_bit(STRIPE_HANDLE, &sh->state); in make_discard_request()
5946 set_bit(STRIPE_R5C_PREFLUSH, &sh->state); in raid5_make_request()
5951 set_bit(STRIPE_HANDLE, &sh->state); in raid5_make_request()
6120 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request()
6138 set_bit(STRIPE_EXPANDING, &sh->state); in reshape_request()
6156 set_bit(R5_Expanded, &sh->dev[j].flags); in reshape_request()
6157 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()
6160 set_bit(STRIPE_EXPAND_READY, &sh->state); in reshape_request()
6161 set_bit(STRIPE_HANDLE, &sh->state); in reshape_request()
6187 set_bit(STRIPE_EXPAND_SOURCE, &sh->state); in reshape_request()
6188 set_bit(STRIPE_HANDLE, &sh->state); in reshape_request()
6226 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request()
6329 set_bit(STRIPE_SYNC_REQUESTED, &sh->state); in raid5_sync_request()
6330 set_bit(STRIPE_HANDLE, &sh->state); in raid5_sync_request()
6387 set_bit(R5_ReadNoMerge, &sh->dev[dd_idx].flags); in retry_aligned_read()
6567 set_bit(R5_DID_ALLOC, &conf->cache_state); in raid5d()
7647 set_bit(MD_JOURNAL_CLEAN, &mddev->flags); in raid5_run()
7749 set_bit(MD_RECOVERY_RESHAPE, &mddev->recovery); in raid5_run()
7750 set_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in raid5_run()
7912 set_bit(Faulty, &rdev->flags); in raid5_spare_active()
8094 set_bit(Replacement, &rdev->flags); in raid5_add_disk()
8135 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); in raid5_resize()
8292 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8302 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8315 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in raid5_start_reshape()
8320 set_bit(MD_RECOVERY_RESHAPE, &mddev->recovery); in raid5_start_reshape()
8321 set_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in raid5_start_reshape()
8572 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in raid5_check_reshape()