AFS: Support the CB.ProbeUuid RPC op
David Howells
maintainerPATCH 1/1 AFS: Support the CB.ProbeUuid RPC op
Add support for the CB.ProbeUuid cache manager RPC op. This allows a modern OpenAFS server to quickly ask if the client has been rebooted.
Signed-off-by David Howells <[email protected]>
---
fs/afs/afs_cm.h | 1 fs/afs/cmservice.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+), 0 deletions(-)
fs/afs/afs_cm.h +1 -0
@@ -24,6 +24,7 @@ enum AFS_CM_Operations { CBGetXStatsVersion =209 ,/* get version of extended statistics */ CBGetXStats =210 ,/* get contents of extended statistics data */ CBInitCallBackState3 =213 ,/* initialise callback state, version 3 */ + CBProbeUuid =214 ,/* check the client hasn't rebooted */ CBTellMeAboutYourself = 65538, /* get client capabilities */ };
fs/afs/cmservice.c +107 -0
125 lines not on this page · raw message