5 OST_SETATTR (pb_opc = 2) is an RPC that sets resource attributes.
7 .OST_SETATTR Request Packet Structure
8 image::ost-setattr-request.png["OST_SETATTR Request Packet Structure",height=50]
10 //////////////////////////////////////////////////////////////////////
11 The ost-setattr-request.png diagram resembles this text art:
14 --request-----------------
15 | ptlrpc_body | ost_body |
16 --------------------------
17 //////////////////////////////////////////////////////////////////////
19 include::struct_ptlrpc_body.txt[]
21 include::struct_ost_body.txt[]
23 .OST_SETATTR Reply Packet Structure
24 image::ost-setattr-reply.png["OST_SETATTR Reply Packet Structure",height=50]
26 //////////////////////////////////////////////////////////////////////
27 The ost-setattr-reply.png diagram resembles this text art:
30 --reply-------------------
31 | ptlrpc_body | ost_body |
32 --------------------------
33 //////////////////////////////////////////////////////////////////////
36 RPC descriptor. See <<struct-ptlrpc-body>>.
39 Metadata about the resource. See <struct-ost-body>>.