Re: [GIT PULL v2] dlm fixes for 6.9

From: Linus Torvalds
Date: Mon Mar 18 2024 - 18:44:41 EST


On Mon, 18 Mar 2024 at 14:25, David Teigland <teigland@xxxxxxxxxx> wrote:
>
> I dropped the commit with the bad atomic usage, and replaced it with two
> other commits: the first reverts the unnecessary change that began using
> atomic_t for lkb_wait_count, and the second adds comments to the recovery
> code that forcibly resets the wait_count state.

Ok, the diff certainly looks saner. I didn't look at the code outside
the context of the diff, so that's literally just going by the patches
themselves, but I appreciate the comment ("The wait_count will almost
always be 1, but in case of an overlapping unlock/cancel it could be
2: see ..") and yes, it just makes the old atomic thing sound even
odder.

Thanks,

Linus