NFSv4.1: do not use deviceids after MDS clientid invalidation
authorAndy Adamson <andros@netapp.com>
Wed, 15 Jun 2011 21:52:40 +0000 (17:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Jul 2011 17:40:29 +0000 (13:40 -0400)
commitc47abcf8ff4d0c56d20ce541e80d3e1c975f54b5
tree9fc0bfddd899e415f9943a403b647ed7b05da71b
parenta56aaa02b1f723e28b41d339ddff02e958d32d43
NFSv4.1: do not use deviceids after MDS clientid invalidation

Mark all deviceids established under an expired MDS clientid as invalid.
Stop all new i/o through DS and send through the MDS.
Don't use any new LAYOUTGETs that use the invalid deviceid. Purge all layouts
established under the expired MDS clientid.
Remove the MDS clientid deviceid and data servers reference

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4filelayout.h
fs/nfs/pnfs.c
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c