Re: [PATCH 4/4] dm: convert table_device.count from atomic_t to refcount_t

From: Alasdair G Kergon
Date: Fri Nov 24 2017 - 09:04:32 EST


On Fri, Nov 24, 2017 at 08:29:42AM +0000, Reshetova, Elena wrote:
> By looking at the code, I don't see where the change in the reference counting
> could have caused this.

The cause was the bug I identified in patch 3, not this patch.

The regression is easily hit - tables that reference the same underlying device
more than once are very common.

Alasdair