defragfs.ocfs2 hangs (or takes too long) on arm64, ppc64el
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCFS2 Tools |
Fix Released
|
Unknown
|
|||
ocfs2-tools (Ubuntu) |
Fix Released
|
Medium
|
Rafael David Tinoco |
Bug Description
[Impact]
* ocfs2 defrag tool does not work for ARM64 architecture.
[Test Case]
* Run the following script:
https:/
* 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.
summary: |
- defragfs.ocfs2 hangs (or takes too long) on arm64 + defragfs.ocfs2 hangs (or takes too long) on arm64, ppc64el |
Changed in ocfs2-tools (Ubuntu): | |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
Changed in ocfs2-tools (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
description: | updated |
Changed in ocfs2-tools: | |
status: | Unknown → Fix Released |
Okay, I'm marking the bug:
https:/ /bugs.launchpad .net/ubuntu/ +source/ ocfs2-tools/ +bug/1837089
as a duplicate of this, since you reproduced. I'm also assigning it to myself.