NFS: Optimise the readdir searches
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 24 Sep 2010 22:49:43 +0000 (18:49 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Oct 2010 19:27:30 +0000 (15:27 -0400)
If we're going through the loop in nfs_readdir() more than once, we usually
do not want to restart searching from the beginning of the pages cache.

We only want to do that if the previous search failed...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found