mbox series

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

Message ID 1519052155-6361-1-git-send-email-will.deacon@arm.com
Headers show
Series A couple of i_dir_seq fixes for fs/dcache.c | expand

Message

Will Deacon Feb. 19, 2018, 2:55 p.m. UTC
Hi all,

This is version two of the patch I previously posted here:

  http://lkml.kernel.org/r/1518526731-26546-1-git-send-email-will.deacon@arm.com

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

-- 
2.1.4

Comments

Will Deacon Feb. 26, 2018, 6:05 p.m. UTC | #1
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@arm.com

> 

> 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