Re: [Cluster-devel] [PATCH] gfs2: use __vmalloc GFP_NOFS for fs-related allocations.

2015-02-01 Thread Oleg Drokin
Hello! On Feb 2, 2015, at 12:37 AM, Dave Chinner wrote: > On Sun, Feb 01, 2015 at 10:59:54PM -0500, gr...@linuxhacker.ru wrote: >> From: Oleg Drokin >> >> leaf_dealloc uses vzalloc as a fallback to kzalloc(GFP_NOFS), so >> it clearly does not want any shrinker activity within the fs itself. >>

Re: [Cluster-devel] [PATCH] gfs2: use __vmalloc GFP_NOFS for fs-related allocations.

2015-02-01 Thread Dave Chinner
On Sun, Feb 01, 2015 at 10:59:54PM -0500, gr...@linuxhacker.ru wrote: > From: Oleg Drokin > > leaf_dealloc uses vzalloc as a fallback to kzalloc(GFP_NOFS), so > it clearly does not want any shrinker activity within the fs itself. > convert vzalloc into __vmalloc(GFP_NOFS|__GFP_ZERO) to better ach

[Cluster-devel] [PATCH] gfs2: use __vmalloc GFP_NOFS for fs-related allocations.

2015-02-01 Thread green
From: Oleg Drokin leaf_dealloc uses vzalloc as a fallback to kzalloc(GFP_NOFS), so it clearly does not want any shrinker activity within the fs itself. convert vzalloc into __vmalloc(GFP_NOFS|__GFP_ZERO) to better achieve this goal. Signed-off-by: Oleg Drokin --- fs/gfs2/dir.c | 3 ++- 1 file

[Cluster-devel] [PATCH] dlm: Use put_unaligned_be16

2015-02-01 Thread Vaishali Thakkar
This patch introduces the use of function put_unaligned_be16. This is done using Coccinelle and semantic patch used is as follows: @a@ typedef u16, __be16, uint16_t; {u16,__be16,uint16_t} e16; identifier tmp; expression ptr; expression y,e; type T; @@ - tmp = cpu_to_be16(y); <+... when != tmp (