]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pnfs: enable CB_NOTIFY_DEVICEID support
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Sep 2014 00:37:28 +0000 (17:37 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 12 Sep 2014 17:33:50 +0000 (13:33 -0400)
commit84c9dee3adc2bc49a52af74f18378a4887448288
treea997debdaedf553ad8e6612c477938ca720099d0
parent5c83746a0cf2831d4b59f5cf99ef5fbf138564e4
pnfs: enable CB_NOTIFY_DEVICEID support

This code has been around for a while, but never was enabled, although
it is in a working shape.

Note that we implement NOTIFY_DEVICEID4_CHANGE identical to
NOTIFY_DEVICEID4_DELETE.  Given that in either case we can't do anything
but preventing further lookups of a given device ID there isn't much difference
in semantics for the two.  For the delete case the server MUST ensure that
there are no outstanding layouts, while for the change case it doesn't, but
that has little relevance to the client.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c
fs/nfs/nfs4xdr.c