Whamcloud - gitweb
LU-925 agl: trigger async glimpse lock when statahead
authorFan Yong <yong.fan@whamcloud.com>
Fri, 16 Dec 2011 07:34:25 +0000 (15:34 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 4 Jan 2012 19:59:28 +0000 (14:59 -0500)
commit51b1da4054704d0e115ddb2c8857c5a84c7ed958
tree8fbab70048523430e3d0ed35c818c68389151ec2
parent4b7b9b3aa821133933fc9e0da0c624343e258ae2
LU-925 agl: trigger async glimpse lock when statahead

Client will send async glimpse lock RPCs to OSTs for file size
attribute before stat files to accelerate traversing large dir.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I9bf850abdd3c02c8470ddfcd91a3dc3ef7819c6d
Reviewed-on: http://review.whamcloud.com/1692
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/llite_mmap.c
lustre/llite/lproc_llite.c
lustre/llite/namei.c
lustre/llite/statahead.c