Re: [PATCH] jbd2: wake up journal waiters in FIFO order, not LIFO

Ritesh Harjani (IBM)
2022-09-08T06:12:04Z

On 22/09/08 08:51AM, Alexey Lyahkov wrote:
> Hi Ritesh,
>
> This was hit on the Lustre OSS node when we have ton’s of short write with sync/(journal commit) in parallel.
> Each write was done from own thread (like 1k-2k threads in parallel).
> It caused a situation when only few/some threads make a wakeup and enter to the transaction until it will be T_LOCKED.
> In our’s observation all handles from head was waked and it’s handles added recently, while old handles still in list and

Thanks Alexey for providing the details.

> It caused a soft lockup messages on console.

Did you mean hung task timeout? I was wondering why will there be soft lockup
warning, because these old handles are anyway in a waiting state right.
Am I missing something?

-ritesh