On Tue, Feb 13, 2018 at 12:58:51PM +0000, Will Deacon wrote:
> This patch resolves the livelock by not taking hlist_bl_lock in
> d_alloc_parallel if the sequence counter is odd, since any subsequent
> masked comparison with i_dir_seq will fail anyway.
> Cc: Peter Zijlstra <pet...@infradead.org>
> Cc: Al Viro <v...@zeniv.linux.org.uk>
> Signed-off-by: Will Deacon <will.dea...@arm.com>

Reviewed-by: Matthew Wilcox <mawil...@microsoft.com>

I wonder whether it makes sense to turn i_dir_seq into a seqcount_t,
which would give us the lockdep checking as well.

Reply via email to