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]>
@khys95 khys95 merged commit 4dda091 into 10.0 Oct 8, 2025
0 of 2 checks passed
@khys95 khys95 deleted the fix-wrandom-10.0 branch October 8, 2025 10:22
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.

2 participants