]> git.baikalelectronics.ru Git - kernel.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)
commitfede13ede41897dfcc64c9f96bfc20736454f2a8
treea997debdaedf553ad8e6612c477938ca720099d0
parent4c9d64a75baa4b0c79812206377293112c8a3b4c
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