Re: [PATCH 3/8] md: raid5: use refcount_t for reference counting instead atomic_t

From: Peter Zijlstra
Date: Thu May 24 2018 - 02:21:32 EST


On Wed, May 23, 2018 at 12:22:39PM -0700, Shaohua Li wrote:
> I don't know what is changed in the refcount, such raid5 change has attempted
> before and didn't work. 0 for the stripe count is a valid usage and we do
> inc-from-zero in several places.

Nothing much has changed with refcount; and the above does indeed still
appear to be an issue. Thanks for confirming.