X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=ldlm_cp_callback.txt;h=52c16c50063d416e48857e1f6a8abb7080b7475b;hb=refs%2Fheads%2Fmaster;hp=071db0f3037d85d918806edcef0578b0306f0b6c;hpb=75ebff14a4d8714411bf755755b0823a2987dc44;p=doc%2Fprotocol.git diff --git a/ldlm_cp_callback.txt b/ldlm_cp_callback.txt index 071db0f..52c16c5 100644 --- a/ldlm_cp_callback.txt +++ b/ldlm_cp_callback.txt @@ -4,27 +4,23 @@ RPC 105: LDLM_CP_CALLBACK An RPC that notifies an entity that a requested lock is now available. -.LDLM_CP_CALLBACK Generic Packet Structure -image::ldlm-cp-callback-generic.png["LDLM_CP_CALLBACK Generic Packet Structure",height=100] +.LDLM_CP_CALLBACK Request Packet Structure +image::ldlm-cp-callback-request.png["LDLM_CP_CALLBACK Request Packet Structure",height=50] ////////////////////////////////////////////////////////////////////// -The ldlm-cp-callback-generic.png diagram resembles this text +The ldlm-cp-callback-request.png diagram resembles this text art: LDLM_CP_CALLBACK: --request------------------------------- | ptlrpc_body | ldlm_request | ost_lvb | ---------------------------------------- - --reply-------- - | ptlrpc_body | - --------------- ////////////////////////////////////////////////////////////////////// The request RPC identifies the relevant resource that already had a request pending. It notifies the original requester that it now has the stated lock, along with attribute information the about the -resource. The reply is just an acknowledgment of receipt, and doesn't -carry any further information about the lock or the resource. +resource. 'ptlrpc_body':: RPC descriptor <>. @@ -36,3 +32,22 @@ what lock is current, and what lock desired. <> 'ost_lvb':: Attribute data associated with a resource on an OST. <> +.LDLM_CP_CALLBACK Reply Packet Structure +image::ldlm-cp-callback-reply.png["LDLM_CP_CALLBACK Reply Packet Structure",height=50] + +////////////////////////////////////////////////////////////////////// +The ldlm-cp-callback-reply.png diagram resembles this text +art: + + LDLM_CP_CALLBACK: + --reply-------- + | ptlrpc_body | + --------------- +////////////////////////////////////////////////////////////////////// + +The reply is just an acknowledgment of receipt, and doesn't +carry any further information about the lock or the resource. + +'ptlrpc_body':: +RPC descriptor <>. +