1 RPC 104: LDLM_GL_CALLBACK
2 ~~~~~~~~~~~~~~~~~~~~~~~~~
3 [[ldlm-gl-callback-rpc]]
5 An RPC that assists with getting a lock back from an entity that has
8 .LDLM_GL_CALLBACK Request Packet Structure
9 image::ldlm-gl-callback-request.png["LDLM_GL_CALLBACK Request Packet Structure",height=50]
11 //////////////////////////////////////////////////////////////////////
12 The ldlm-gl-callback-request.png diagram resembles this text
16 --request---------------------
17 | ptlrpc_body | ldlm_request |
18 ------------------------------
19 //////////////////////////////////////////////////////////////////////
21 The request RPC resembles the simplest LDLM_ENQUEUE RPC, but only
22 identifies the relevant resource that the destination entity already
23 had a lock on. It asks the recipient to flush its dirty write cache,
24 and notify the requester of size and time attributes once that is
28 RPC descriptor. <<struct-ptlrpc-body>>
31 Description of the lock being requested. Which resource is the target,
32 what lock is current, and what lock desired. <<struct-ldlm-request>>
34 .LDLM_GL_CALLBACK Reply Packet Structure
35 image::ldlm-gl-callback-reply.png["LDLM_GL_CALLBACK Reply Packet Structure",height=50]
37 //////////////////////////////////////////////////////////////////////
38 The ldlm-gl-callback-reply.png diagram resembles this text
42 --reply------------------
43 | ptlrpc_body | ost_lvb |
44 -------------------------
45 //////////////////////////////////////////////////////////////////////
47 The reply updates the attributes on the requester.
50 RPC descriptor. <<struct-ptlrpc-body>>
53 Attribute data associated with a resource on an OST. <<struct-ost-lvb>>