Whamcloud - gitweb
Branch HEAD
b=18902
i=alexey.lyashkov
i=vladimir.saveliev
1) do not reset statahead if conflict was found when opendir
2) do not release "sai" if someone else want to use it for race condition
3) patch from bug 20139
4) increase timeout value for racer killing threads to process client evicted case
There are race conditions for statahead:
1) just before statahead thread is triggered, the first item of the dentry many moved to other
directory, which will cause the statahead thread to be triggered for different directory, and then
cause the original "ls -l" thread which is waiting for the expected directory can not be waken up.
2) when some items are in statahead, such items maybe move to other directory, then the interpret
call maybe find different dentry under such changed directory, and left the original original "ls
-l" thread which is waiting for the expected directory can not be waken up.
3) lli_fid should be set just after vfs inode created on client-side, to prevent the same inode was
created multiple times by statahead thread and other stat thread.