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)
commitdf52699e4fcefe30ebe4f1db48bd161254a0b102
tree7b590d25515d0fa5bbbe5c48e76a0857a73e10b0
parent4e59080397faadee59d39ffa2116dc8607adc9c9
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