commit | baf57a09e9d87b14be5e2788828169394a2525ab | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 24 18:49:43 2010 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Oct 23 15:27:30 2010 -0400 |
tree | 77b35fe3ef7868f3c642093a4a8c01ed6be584cd | |
parent | d1bacf9eb2fd0e7ef870acf84b9e3b157dcfa7dc [diff] |
NFS: Optimise the readdir searches 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>