Re: BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!

From: David Sterba
Date: Tue Jul 26 2022 - 12:47:55 EST


On Tue, Jul 26, 2022 at 05:32:54PM +0500, Mikhail Gavrilov wrote:
> Hi guys.
> Always with intensive writing on a btrfs volume, the message "BUG:
> MAX_LOCKDEP_CHAIN_HLOCKS too low!" appears in the kernel logs.

Increase the config value of LOCKDEP_CHAINS_BITS, default is 16, 18
tends to work.