Bug 847106
Summary: | ext2 tests hang while running fsfuzzer | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Gurhan Ozen <gozen> | ||||
Component: | kernel | Assignee: | Carlos Maiolino <cmaiolin> | ||||
Status: | CLOSED ERRATA | QA Contact: | Boyang Xue <bxue> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.1 | CC: | bxue, cmaiolin, dchinner, eguan, esandeen, gozen, jburke, kdudka, lczerner, rwheeler, sweil, swhiteho | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | kernel-2.6.32-662.el6 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-03-21 12:19:53 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This could be hardly a bug of the 'filesystem' package, switching to kernel... This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. Gurhan, do you have the kernel version where you reproduced it? Were you able to reproduce it on any recent kernel? Thanks. --Carlos Yes this issue still exists. It should also be possible to grab the problematic image out of fsfuzzer to reproduce elsewhere. I could reproduce it on my local test system, don't worry about access to the test system or take the fsfuzzer image. Carlos, Any updates on this issue? Thanks, Jeff Hi Jeff, don't have news regarding this bug yet, sorry. I'll update it as soon as I have something for it. Cheers, --Carlos Carlos, do you need something more to progress this - are you able to resproduce it, or do you need some more information? Hi Steve, no, I don't need anything by now. I believe I have already identified the bug, but, if I'm right, it also exists upstream. I'm testing now if I can reproduce it upstream. the bug looks to happen only on filesystems with 1K blocks, and a corrupted inode makes the filesystem try to lock the superblock twice. At a first glance, I thought the bug could only happen when the ext2_xattr_delete_inode() was trying to delete an inode where i_file_acl was 1, which would make the function lock the superblock buffer_head, instead of the inode's buffer_head itself, but that's not the case. I'm using some instrumentation code to isolate the bug, since, my first possible fix didn't work as expected. I believe whenever i_file_acl points to a superblock buffer, it will triggers the bug, but, next investigation/code instrumentation might give me better results. Patch(es) committed on kernel repository and kernel is undergoing testing Patch(es) available on kernel-2.6.32-662.el6 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0817.html |
Created attachment 603319 [details] dmesg Description of problem: When running fsfuzzer for ext2 testing, it hangs. dmesg that has the stacktraces will be attached. Version-Release number of selected component (if applicable): rhel6 How reproducible: Very Steps to Reproduce: 1. Reserve a rhel6 machine and install /kernel/storage/fsfuzzer test and run ./fsfuzz ext2 2. 3. Actual results: Expected results: Additional info: