NFS: Add mount options for controlling the lookup cache
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 15 Jul 2008 21:58:14 +0000 (17:58 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Oct 2008 21:23:57 +0000 (17:23 -0400)
commit7973c1f15a0687f47ed70e591e4642d6fc4334d0
tree543ea6ca6b2217bf873c4a891aec9eab5dd50fab
parentff3525a539f5cc81970d08304bdedb4ffba984da
NFS: Add mount options for controlling the lookup cache

Add the following NFS-specific mount options to the parser.

    -o lookupcache=all          /* Default: cache positive & negative
                                   dentries */
    -o lookupcache=pos[itive]   /* Don't cache negative dentries */
    -o lookupcache=none         /* Strict revalidation of all dentries */

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c