** Description changed:

+ [Impact]
+ 
+  * ocfs2 defrag tool does not work for ARM64 architecture.
+ 
+ [Test Case]
+ 
+  * Run the following script: 
+    https://pastebin.ubuntu.com/p/dYG2xct6dz/
+ 
+  * When it opens a new shell, run:
+    $ defragfs.ocfs2 -v /mnt (as root)
+ 
+  * Watch defragfs.ocfs2 to consume 100% of CPU and no output.
+ 
+ [Regression Potential]
+ 
+  * I'm basically changing a (char) for a (int). Potential for
+    regression is almost non existent for this case.
+ 
+ [Other Info]
+ 
  The new defragfs.ocfs2 test added in the 1.8.6-1 version of the package
  hangs (or takes too long) in our dep8 infrastructure.
  
  I reproduced this on an arm64 VM. The command stays silent, and
  consuming 99% of CPU. There is no I/O being done (checked with iostat
  and iotop).
  
  strace -f shows it stopping at this write:
  2129  write(1, "defragfs.ocfs2 1.8.6\n", 21) = 21
  
  Which is just a version print.
  
  Also tested with kernel 5.2.0-13-generic from eoan-proposed.
  
  debian's ci only runs this test on amd64 it seems.
  
  On an amd64 VM in the same cloud this tests completes in less than 1s.

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

Title:
  defragfs.ocfs2 hangs (or takes too long) on arm64, ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocfs2-tools/+bug/1840958/+subscriptions

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

Reply via email to