Re: [PATCH v2 0/2] A couple of i_dir_seq fixes for fs/dcache.c

From: Will Deacon
Date: Mon Feb 26 2018 - 13:05:52 EST


H Al,

On Mon, Feb 19, 2018 at 02:55:53PM +0000, Will Deacon wrote:
> This is version two of the patch I previously posted here:
>
> http://lkml.kernel.org/r/1518526731-26546-1-git-send-email-will.deacon@xxxxxxx
>
> Changes since v1:
>
> * Added READ_ONCE to i_dir_seq access
> * Added tags
>
> Cheers,
>
> Will
>
> --->8
>
> Will Deacon (2):
> fs: dcache: Avoid livelock between d_alloc_parallel and __d_add
> fs: dcache: Use READ_ONCE when accessing i_dir_seq
>
> fs/dcache.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)

Is there anything more you need from me on this series? I don't see it
queued anywhere and we're seeing this livelock hitting us in practice.

Cheers,

Will