Public bug reported:

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.

** Affects: stress-ng (Ubuntu)
     Importance: High
     Assignee: Colin Ian King (colin-king)
         Status: In Progress

** Changed in: stress-ng (Ubuntu)
       Status: New => In Progress

** Changed in: stress-ng (Ubuntu)
   Importance: Undecided => High

** Changed in: stress-ng (Ubuntu)
     Assignee: (unassigned) => Colin Ian King (colin-king)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1547004

Title:
  stress-ng: clean up on tests that use prime strides don't remove all
  files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/1547004/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to