Whamcloud - gitweb
LU-7922 ldiskfs: correction in ext4_kzalloc 41/19541/2
authorLokesh Nagappa Jaliminche <lokesh.jaliminche@seagate.com>
Thu, 14 Apr 2016 08:12:01 +0000 (13:42 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 25 Apr 2016 04:16:38 +0000 (04:16 +0000)
commit101e729708289e46fe858a6b7162f779e24dfa5a
tree151915f677fb59b7997faa3c3d488c69cd917721
parentd62f58c32074bc54055801ed0f919bfd5c277f6d
LU-7922 ldiskfs: correction in ext4_kzalloc

ext4_kzalloc uses kmalloc instead of kzalloc, this was
introduced by commit 9933fc0. Due to this get_orlov_stats
was not working properly, making orlov allocator completely
random. kmalloc is replaced with kzalloc to get correct
stats.This is corrected in kernel as part of following
commit v3.0-7217-gdb9481c04

Added __GFP_NOWARN to k.alloc calls with v.alloc fallbacks
as per this commit v3.11-rc2-221-g8be04b937.

Seagate-bug-id: MRP-3412
Signed-off-by: Lokesh Nagappa Jaliminche <lokesh.jaliminche@seagate.com>
Change-Id: I15f1a28537cb5e4f32d63527c99508383e12c97f
Reviewed-on: http://review.whamcloud.com/19541
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
ldiskfs/kernel_patches/patches/rhel6.3/ext4-introduce-ext4_kvmalloc-ext4_kzalloc-and-ext4_kvfree.patch
ldiskfs/kernel_patches/patches/sles11sp2/ext4-introduce-ext4_kvmalloc-ext4_kzalloc-and-ext4_kvfree.patch