Whamcloud - gitweb
LU-339 use new aops for kernel >= RHEL5.4
authorLai Siyao <laisiyao@whamcloud.com>
Thu, 19 May 2011 03:25:20 +0000 (20:25 -0700)
committerJohann Lombardi <johann@whamcloud.com>
Thu, 19 May 2011 13:47:53 +0000 (06:47 -0700)
commite9f1f5348685c5a19e21027b14e745266f256e1b
treeffeaa947c660f5b0bbf99857e283cda99dcb7a8f
parentf739b9c14354676792449a613476fcbcebec805f
LU-339 use new aops for kernel >= RHEL5.4

for RHEL5 kernel, from >= 5.4 both old and new aops interface are
supported, and a flag MS_HAS_NEW_AOPS is used to mark wheather a
filesystem supports it. Enable it for lustre by default, and this
will increase single thread IO perf > 5% due to kernel
implementation.

Signed-off-by: Lai Siyao <laisiyao@whamcloud.com>
Change-Id: I8f0bfb1c4eea39275cb22c52e30310dcad41db14
Reviewed-on: http://review.whamcloud.com/570
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
lustre/llite/dir.c
lustre/llite/llite_lib.c
lustre/llite/rw26.c