Skip to content
Commit 2a236122 authored by Thorsten Knabe's avatar Thorsten Knabe Committed by Richard Weinberger
Browse files

um: ubd: Fix for processes stuck in D state forever



Starting with Linux 3.12 processes get stuck in D state forever in
UserModeLinux under sync heavy workloads. This bug was introduced by
commit 805f11a0 (um: ubd: Add REQ_FLUSH suppport).
Fix bug by adding a check if FLUSH request was successfully submitted to
the I/O thread and keeping the FLUSH request on the request queue on
submission failures.

Fixes: 805f11a0 (um: ubd: Add REQ_FLUSH suppport)
Signed-off-by: default avatarThorsten Knabe <linux@thorsten-knabe.de>
Cc: stable@kernel.org # >= 3.12
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 9e6a57d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment