[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
** Attachment added: "test-loop.sh" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1847340/+attachment/5524208/+files/test-loop.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847340

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
** Attachment added: "fstests-check-logs.sh" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1847340/+attachment/5524207/+files/fstests-check-logs.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
Attaching the scripts used for testing (run/check xfstests, and run stress-ng) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847340 Title: ext4 journal recovery fails w/ data=journal + mmap To

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
** Attachment added: "fstests-run.sh" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1847340/+attachment/5524206/+files/fstests-run.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847340

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
Test results with stress-ng. The original kernels hit the issue (very often on Bionic, less often on Focal.) The modified kernels don't (in 2x the number of runs on both Bionic and Focal.) Number of tests (stress-ng + crash + mount) that mount PASSED or FAILED (ie, problem was hit.) ---

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
Regression test results with (x)fstests. Bionic, data=journal: no regression. Original: --- $ ./fstests-check-logs.sh orig-journal/xfstests.log* Kernel version: 5.4.0-84-generic #94-Ubuntu - Number of Runs: 10 - Always fail (failed every time) 10 ext4/024 10 ext4/034 10

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
Regression test results with (x)fstests. Focal, data=ordered: no regression. Original: --- $ ./fstests-check-logs.sh orig-ordered/xfstests.log* Kernel version: 5.4.0-84-generic #94-Ubuntu - Number of Runs: 10 - Always fail (failed every time) 10 ext4/024 10 ext4/034 10 ext4/045

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
Regression test results with (x)fstests. Bionic, data=journal: no regression. Original: --- $ ./fstests-check-logs.sh orig-journal/xfstests.log* Kernel version: 4.15.0-156-generic #163-Ubuntu - Number of Runs: 10 - Always fail (failed every time) 10 ext4/045 10 generic/082 10

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
Regression test results with (x)fstests. Bionic, data=ordered: no regression. Original: --- $ ./fstests-check-logs.sh orig-ordered/xfstests.log* Kernel version: 4.15.0-156-generic #163-Ubuntu - Number of Runs: 10 - Always fail (failed every time) 10 ext4/045 10 generic/044 10

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
** Description changed: + [Impact] + + With mmap()ed files on ext4's data journaling it's possible to change + a mapped page's buffers contents during their jbd2 transaction commit + (as currently nothing prevents/blocks the write access at that time.) + + This might happen between the buffers

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-09-09 Thread Mauricio Faria de Oliveira
** Also affects: linux (Ubuntu Hirsute) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Bionic) Status: Confirmed => In Progress ** Changed in: linux (Ubuntu Bionic) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Bionic) Assignee:

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2021-08-24 Thread Terry Rudd
** Changed in: linux (Ubuntu Eoan) Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847340 Title: ext4 journal recovery fails w/ data=journal + journal_checksum

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2020-07-02 Thread Steve Langasek
** Changed in: linux (Ubuntu Disco) Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847340 Title: ext4 journal recovery fails w/ data=journal +

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2019-10-08 Thread dann frazier
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Also affects: linux (Ubuntu Eoan) Importance: Undecided Status: Confirmed ** Also affects: linux (Ubuntu Ff-series) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Bionic) Importance:

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2019-10-08 Thread dann frazier
Upstream thread: https://lists.openwall.net/linux-ext4/2019/08/30/1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847340 Title: ext4 journal recovery fails w/ data=journal + journal_checksum +

[Bug 1847340] Re: ext4 journal recovery fails w/ data=journal + journal_checksum + mmap

2019-10-08 Thread dann frazier
And the precursor to that the upstream thread in comment #1: https://www.spinics.net/lists/linux-fsdevel/msg151486.html And here's a captured filesystem image (referenced in above thread): https://people.canonical.com/~dannf/md2.e2ic.qcow2 -- You received this bug notification because you