Skip to contentSkip to conversation

AFS: Support the CB.ProbeUuid RPC op

PATCH New David Howells 1 participant 1 message Apr 24, 2008 Afs filesystem

lore
Share & tools
lore

David Howells

author maintainer
#0 lore raw

PATCH 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.

---

 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
index 5f62f3e..255f5dd 100644
@@ -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