Skip to content

Conversation

kofemann
Copy link
Member

Motivation:
the merge of commit a778f97 added silent conflict which introduced infinite loop due to loop index freez, that ended in infinite loop.

Modification:
fix the loop using iterator and index (as original code aimed to to). Added extra unit test that check loop in action.

Result:
fixed infinite loop in wrandom partition

Acked-by: Dmitry Litvintsev
Target: master, 11.1, 11.0, 10.2, 10.1, 10.0, 9.2
Require-book: no
Require-notes: yes
(cherry picked from commit cd23f59)

Motivation:
the merge of commit a778f97 added silent conflict
which introduced infinite loop due to loop index freez, that ended in
infinite loop.

Modification:
fix the loop using iterator and index (as original code aimed to to).
Added extra unit test that check loop in action.

Result:
fixed infinite loop in wrandom partition

Acked-by: Dmitry Litvintsev
Target: master, 11.1, 11.0, 10.2, 10.1, 10.0, 9.2
Require-book: no
Require-notes: yes
(cherry picked from commit cd23f59)
Signed-off-by: Tigran Mkrtchyan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant