Whamcloud - gitweb
Branch b1_6
authorfanyong <fanyong>
Sat, 26 Apr 2008 14:30:54 +0000 (14:30 +0000)
committerfanyong <fanyong>
Sat, 26 Apr 2008 14:30:54 +0000 (14:30 +0000)
commit5de3e2dfa39db87241536b43fa754cd1ed121330
tree01274bc57fe08e52c053feaf2a055422a8f16c2f
parent036be0baa3d8f88e83dfec80013e9e1a516df466
Branch b1_6
b=15658
i=huanghua
i=tappro

Support directory read ahead under patchless client mode.
When "ls" a dentry, the system trigger more than once "revalidate" or
"lookup", for "getattr", for "getxattr", and maybe for others.
Under patchless client mode, the operation intent is not accurate,
it maybe misguide the statahead thread. For example:
The "revalidate" call for "getattr" and "getxattr" of a dentry maybe
have the same operation intent -- "IT_GETATTR".
In fact, one dentry should has only one chance to interact with the
statahead thread, otherwise the statahead windows will be confused.
lustre/llite/llite_internal.h
lustre/llite/statahead.c