]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Don't cache deviceids that have no notifications
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Mar 2015 18:48:32 +0000 (14:48 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:32:24 +0000 (12:32 -0400)
commitc981fdf91d7133285bc77e331c28b6cbecfdd4a0
tree7b590d25515d0fa5bbbe5c48e76a0857a73e10b0
parent965a219b4bb8d7fb269bb97b660f825f99d7c358
NFSv4.1: Don't cache deviceids that have no notifications

The spec says that once all layouts that reference a given deviceid
have been returned, then we are only allowed to continue to cache
the deviceid if the metadata server supports notifications.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c