Public bug reported:

SRU Justification

[Impact]

When stress-ng is used to run directory creation stress tests on eMMC,
the system locks up. This is highly reproducible on ext4 when discard is
enabled when mounting the filesystem (sudo DIR_WORKER_COUNT=4
run_disk_stress_ng.sh mmcblk0 60).

[Fix]

Pull the fix from upstream Raspberry Pi tree (rpi-6.18.y branch):
  - 66d46640d0a54 mmc: don't reference requests after issuing them

[Test Plan]

* Compile tested
* Boot tested
* No impacts to existing features found

Install the built packages and running the same stress test should no
longer result in hangs and lockups. See attached script for testing.

[Regression potential]

Relatively low, as change is a bug fix from upstream.

** Affects: linux-raspi (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "run_disk_stress_ng.sh"
   
https://bugs.launchpad.net/bugs/2160602/+attachment/5981755/+files/run_disk_stress_ng.sh

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

Title:
  mmc: System hangs when dir creation is stress tested on eMMC

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2160602/+subscriptions


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

Reply via email to