]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9af3fdebf9daa415cd94d21a431783a588d1c4e5
tree77b35fe3ef7868f3c642093a4a8c01ed6be584cd
parent744703856356fd1d25eeaec259da821359625130
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>
fs/nfs/dir.c