Whamcloud - gitweb
LUDOC-270 doc: describe more connect flags
[doc/protocol.git] / ost_punch.txt
1 Command 10: OST_PUNCH
2 ~~~~~~~~~~~~~~~~~~~~~
3 [[ost-punch-rpc]]
4
5 An RPC that modifies the size attribute of a resource on an OST.
6
7 .OST_PUNCH Generic Packet Structure
8 image::ost-punch-generic.png["OST_PUNCH Generic Packet Structure",height=100]
9
10 //////////////////////////////////////////////////////////////////////
11 The ost-punch-generic.png diagram resembles this text art:
12
13        OST_PUNCH:
14       --request-------------------------------
15       | ptlrpc_body | ost_body | lustre_capa |
16       ----------------------------------------
17       --reply-------------------
18       | ptlrpc_body | ost_body |
19       --------------------------
20 //////////////////////////////////////////////////////////////////////
21
22 'ptlrpc_body'::
23 RPC descriptor.
24
25 'ost_body'::
26 Metadata about the resource, as it appears on the OST.
27
28 'lustre_capa'::
29 So called "capabilities" structure. This is deprecated in recent
30 versions of Lustre, and commonly appears in the packet header as a zero
31 length buffer.
32