Whamcloud - gitweb
LU-932 llite: cleanup ll_inode_info to reduce inode size
authorFan Yong <yong.fan@whamcloud.com>
Fri, 16 Dec 2011 05:58:37 +0000 (13:58 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 4 Jan 2012 16:26:51 +0000 (11:26 -0500)
commit7796bdfb07954422e81b124ba176a5e431b43d8b
tree2a46f65733c999c92c8874d4643819c9e233b315
parent49c9474995673394c223a32a4ffbfbb8d7162a83
LU-932 llite: cleanup ll_inode_info to reduce inode size

ll_inode_info contains many special-used members, some of them are only
used for directory object, some are only used for non-directory object.
Share memory between those non-coexist members to reduce inode size.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: Ic10014b2121f64718667addb77ed009aa29c1b4c
Reviewed-on: http://review.whamcloud.com/1691
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
lustre/include/lclient.h
lustre/lclient/lcommon_cl.c
lustre/liblustre/llite_lib.h
lustre/liblustre/super.c
lustre/llite/file.c
lustre/llite/llite_close.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/llite/remote_perm.c
lustre/llite/super25.c
lustre/llite/xattr.c