Here is a test case which shows the problem. Without the patch, "e2fsck -f journal-test.img" will show multiple filesystem inconsistencies. This filesystem image was created by running the command "for i in `seq 1 10000`; do echo $i; touch $i ; sleep 0.10; done" in one window, and then forcing an immediate reboot as follows "sleep 8; sync; sleep 1; echo b > /proc/sysrq-trigger".
With the patch, "e2fsck -f journal-test.img" will show that the filesystem is consistent after replaying the journal, as it should be. ** Attachment added: "Test case for the patch." http://launchpadlibrarian.net/27181186/journal-test.img.bz2 -- e2fsck will corrupt filesystems when replaying journal https://bugs.launchpad.net/bugs/380727 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs