LU-3531 llite: move dir cache to MDC layer Move directory entries cache from llite to MDC, so client side dir stripe will use independent hash function(in LMV), which does not need to be tightly coupled with the backend storage dir-entry hash function. With striped directory, it will be 2-tier hash, LMV calculate hash value according to the name and hash-type in layout, then each MDT will store these entry in disk by its own hash. Signed-off-by: wang di <di.wang@intel.com> Change-Id: I14bb6bd81aad6fd59dcc22cf4bcea9d341dca2a1 Reviewed-on: http://review.whamcloud.com/7043 Tested-by: Jenkins Reviewed-by: John L. Hammond <john.hammond@intel.com> Tested-by: Maloo <hpdd-maloo@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-2441 mdd: Implement volatile file Add a way to create files which are created unlinked, so they are automatically removed at last close User interface is: - llapi_create_volatile_idx() - llapi_create_volatile() Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr> Change-Id: Ia33a6832d31b83191e4d364da4350cedbe6eef39 Reviewed-on: http://review.whamcloud.com/4836 Tested-by: Hudson Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Johann Lombardi <johann.lombardi@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
LU-1347 obdclass: makes EXPORT_SYMBOL follows function body Makes EXPORT_SYMBOL macros immediately follow the function body, to follow normal Linux kernel coding style. Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com> Change-Id: I3d1b3ebb244e3d7a069d5be13f893ffee7b5f3dd Reviewed-on: http://review.whamcloud.com/2839 Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
LU-1347 build: remove the vim/emacs modelines Delete all of the vim/emacs modelines. Add copyright information for a few files. Signed-off-by: Liang Zhen <liang@whamcloud.com> Change-Id: Ic22ce8d8cc7786ffdb19937eb9f93a2d49aa2581 Reviewed-on: http://review.whamcloud.com/2658 Tested-by: Hudson Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-669 mea.c unconditionally uses ldiskfs hashs Remove the ldiskfs hash code from mea.c as described by comment 15 in Lustre bugzilla 22410. The MEA_MAGIC_HASH_SEGMENT case has been replaced with a CERROR() which will indicate if this ever occurs. "Yes, the two level hashing function is implemented in this patch. And there no ldiskfs hash dependency on client anymore, so those ldiskfs hash function can be removed from mea.c" -- wangdi This was originally filed as Lustre bugzilla 22410. With the removal of this code the ldiskfsfs_dirhash() function no longer has any consumers in obdclass. It is now only used by the ldiskfs osd. Since this functionality was originally copied from ldiskfs it makes sense to remove it entirely and have the osd rely on the ldiskfs implementation. Change-Id: I017918cad57fc0641ebbd9471cb5b5717c65dea2 Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-on: http://review.whamcloud.com/1350 Reviewed-by: wangdi <di.wang@whamcloud.com> Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com>
b=18751 Move prng.c to libcfs i=adilger i=maxim Note that some function names were changed: cfs_get_random_bytes --> cfs_get_random_bytes_prim ll_get_random_bytes --> cfs_get_random_bytes ll_rand --> cfs_rand ll_srand --> cfs_srand
Mass conversion of all copyright messages to Oracle.
b=20655 i=sheng.yang - Fixed the patchless client build failure for ext4 on HEAD. - And ldiskfs will be ext4 by default on HEAD for RHEL5.
b=16893,18503 i=adilger i=girish i=pravin i=yangsheng RHEL5 EXT4 suport for HEAD
b=16098 Add URL for GPLv2 license in copyright headers
b=16098 change CFS license headers to Sun headers
Cleanup compiler warnings b=15981 i=adilger i=rread
b=14340 i=yury.umanets i=adilger this patch extends lu_dirent->lde_hash element, which is required for dmu based mdd. but I am keeping MEA_MAGIC_HASH_SEGMENT hash within 32 bit.
Branch HEAD b=13814 i=oleg.drokin i=sheng.yang (1) Difine some macros and variables if "disable-server" when configure. (2) Support to compile patchless client on HEAD. (3) Comment for some code copy issue.
- make HEAD from b_post_cmd3
land b1_5 onto HEAD
- b_hd_audit landing
- landing b_fid.
- unland b_fid to HEAD
- landing of b_fid after merge with b_hd_cleanup_merge.