Skip to content
Commit 34fc8768 authored by Andrew Perepechko's avatar Andrew Perepechko Committed by Theodore Ts'o
Browse files

jbd2: wake up journal waiters in FIFO order, not LIFO



LIFO wakeup order is unfair and sometimes leads to a journal
user not being able to get a journal handle for hundreds of
transactions in a row.

FIFO wakeup can make things more fair.

Cc: stable@kernel.org
Signed-off-by: default avatarAlexey Lyashkov <alexey.lyashkov@gmail.com>
Reviewed-by: default avatarRitesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20220907165959.1137482-1-alexey.lyashkov@gmail.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent d1052d23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment