stress-ng: clean up on tests that use prime strides don't remove all files
Bug #1547004 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stress-ng (Ubuntu) |
Fix Released
|
High
|
Colin Ian King |
Bug Description
using a prime stride is a good mechanism to step around files in a directory in a non-sequential manner, however, the implementation is broken because the large prime being used to do the striding wraps on 64 bit integers causing aliasing and hence not hitting all files.
Use a smaller prime and ensure that the number of files is not a multiple of this prime to ensure the striding always works correctly and allows us to remove all the files.
Changed in stress-ng (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Ian King (colin-king) |
To post a comment you must log in.
Fix committed http:// kernel. ubuntu. com/git/ cking/stress- ng.git/ commit/ ?id=486f24fcd96 cb6274dcef64f01 f126328d8ea087