Whamcloud - gitweb
LU-163 MDS returns 32/64-bit dir name hash according to client type
authornasf <yong.fan@whamcloud.com>
Wed, 25 May 2011 12:31:02 +0000 (20:31 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 28 May 2011 03:13:04 +0000 (20:13 -0700)
commit96a5daa0c08d7b42ec368080a2a7f0dfb110ef98
tree544df520a31b5f1d2451691fd0b0aff5748709e0
parentcdb698a1a036870b6c9d8e51f69809c558d4823a
LU-163 MDS returns 32/64-bit dir name hash according to client type

1) liblustre client, 1.8.5 or older client do not support 64-bit dir name hash.
2) register Lustre version 'get_name()' for NFS processing.
3) 'll_dir_seek()' processes name hash-based dir seek operation.
4) re-define "DIR_END_OFF" as "0x7fffffffffffffffULL" to always return positive
   dir name hash for successful seek.
5) small cleanup for 'll_dops_init()' to drop unnecessary statahead process.

Signed-off-by: nasf <yong.fan@whamcloud.com>
Change-Id: I0e3177c98c6e8814c39551ab54edfa3f861cbc8c
Reviewed-on: http://review.whamcloud.com/432
Tested-by: Hudson
Reviewed-by: Oleg Drokin <green@whamcloud.com>
28 files changed:
ldiskfs/kernel_patches/patches/ext3-export-64bit-name-hash.patch
ldiskfs/kernel_patches/patches/ext4-export-64bit-name-hash-rhel6.patch [deleted file]
ldiskfs/kernel_patches/patches/ext4-export-64bit-name-hash.patch
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.series
ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series
lustre/include/dt_object.h
lustre/include/lclient.h
lustre/include/linux/lustre_compat25.h
lustre/include/lustre/lustre_idl.h
lustre/lclient/lcommon_cl.c
lustre/liblustre/dir.c
lustre/llite/dcache.c
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/llite_nfs.c
lustre/llite/namei.c
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_object.c
lustre/mdd/mdd_orphans.c
lustre/mdt/mdt_handler.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/obd_mount.c
lustre/osd-ldiskfs/osd_handler.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c