File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -2886,7 +2886,6 @@ impl Downstairs {
2886
2886
assert_eq ! ( old_state, IOState :: New ) ;
2887
2887
self . io_state_count . decr ( & old_state, client_id) ;
2888
2888
self . io_state_count . incr ( & new_state, client_id) ;
2889
-
2890
2889
Some ( job. work . clone ( ) )
2891
2890
}
2892
2891
@@ -3289,7 +3288,7 @@ impl Downstairs {
3289
3288
if * state == IOState :: InProgress || * state == IOState :: New {
3290
3289
info ! (
3291
3290
self . log,
3292
- "{} change {} to fault skipped" , client_id, ds_id
3291
+ "[{}] change {} to fault skipped" , client_id, ds_id
3293
3292
) ;
3294
3293
let old_state =
3295
3294
job. state . insert ( client_id, IOState :: Skipped ) . unwrap ( ) ;
@@ -3481,9 +3480,6 @@ impl Downstairs {
3481
3480
3482
3481
let ds_id = io. ds_id ;
3483
3482
debug ! ( self . log, "Enqueue repair job {}" , ds_id) ;
3484
- for cid in 0 ..3 {
3485
- self . io_state_count . incr ( & IOState :: New , cid) ;
3486
- }
3487
3483
self . ds_active . insert ( ds_id, io) ;
3488
3484
}
3489
3485
You can’t perform that action at this time.
0 commit comments