[RESEND PATCHv2 0/2] A couple of i_dir_seq fixes for fs/dcache.c

From: Will Deacon
Date: Tue Mar 06 2018 - 14:05:22 EST


Hi again,

This is a resend of the patches I previously posted here:

v1: http://lkml.kernel.org/r/1518526731-26546-1-git-send-email-will.deacon@xxxxxxx
v2: https://lkml.org/lkml/2018/2/19/360

Since this fixes a livelock that we're seeing in practice, I'd really like
to get these merged if possible.

Thanks,

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(-)

--
2.1.4