Whamcloud - gitweb
520df6af2de3a588c8c3aebf548cc938edf097b6
[doc/protocol.git] / ost_setattr.txt
1 Command 2: OST_SETATTR
2 ~~~~~~~~~~~~~~~~~~~~~~
3 [[ost-setattr-rpc]]
4
5 An RPC that sets resource attributes.
6
7 .OST_SETATTR Generic Packet Structure
8 image::ost-setattr-generic.png["OST_SETATTR Generic Packet Structure",height=100]
9
10 //////////////////////////////////////////////////////////////////////
11 The ost-setattr-generic.png diagram resembles this text art:
12
13        OST_SETATTR:
14       --request-----------------
15       | ptlrpc_body | ost_body |
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