Re: [PATCH 1/1] ext4: Prevent an infinite loop in the lazyinit thread.

From: Theodore Ts'o
Date: Thu Nov 14 2024 - 08:54:16 EST



On Wed, 06 Nov 2024 14:47:41 +0100, Mathieu Othacehe wrote:
> Use ktime_get_ns instead of ktime_get_real_ns when computing the lr_timeout
> not to be affected by system time jumps.
>
> Use a boolean instead of the MAX_JIFFY_OFFSET value to determine whether
> the next_wakeup value has been set. Comparing elr->lr_next_sched to
> MAX_JIFFY_OFFSET can cause the lazyinit thread to loop indefinitely.
>
> [...]

Applied, thanks!

[1/1] ext4: Prevent an infinite loop in the lazyinit thread.
commit: e06a8c24f6445c2f1b5255caa4f63b38e31c43fa

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>