Whamcloud - gitweb
LUDOC 299 protocol: Spell-check document
[doc/protocol.git] / ldlm_cancel.txt
1 RPC 103: LDLM_CANCEL
2 ~~~~~~~~~~~~~~~~~~~~
3 [[ldlm-cancel-rpc]]
4
5 An RPC that notifies an entity that a requested lock is no longer needed.
6
7 .LDLM_CANCEL Request Packet Structure
8 image::ldlm-cancel-request.png["LDLM_CANCEL Request Packet Structure",height=50]
9
10 //////////////////////////////////////////////////////////////////////
11 The ldlm-cancel-request.png diagram resembles this text
12 art:
13
14        LDLM_CANCEL:
15       --request---------------------
16       | ptlrpc_body | ldlm_request |
17       ------------------------------
18 //////////////////////////////////////////////////////////////////////
19
20 'ptlrpc_body'::
21 RPC descriptor. <<struct-ptlrpc-body>>
22
23 'ldlm_request'::
24 The request RPC identifies the lock being canceled. Only the first
25 'lock_handle' field is used. The rest of the 'ldlm_request' structure
26 is not used. <<struct-ldlm-request>>
27
28 .LDLM_CANCEL Reply Packet Structure
29 image::ldlm-cancel-reply.png["LDLM_CANCEL Reply Packet Structure",height=50]
30
31 //////////////////////////////////////////////////////////////////////
32 The ldlm-cancel-reply.png diagram resembles this text
33 art:
34
35        LDLM_CANCEL:
36       --reply--------
37       | ptlrpc_body |
38       ---------------
39 //////////////////////////////////////////////////////////////////////
40
41 'ptlrpc_body'::
42 RPC descriptor. <<struct-ptlrpc-body>>