Whamcloud - gitweb
LUDOC 299 protocol: Spell-check document
[doc/protocol.git] / mds_getattr.txt
index 7a0d3d4..3530643 100644 (file)
@@ -2,10 +2,58 @@ RPC 33: MDS GETATTR - Get MDS Attributes
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 [[mds-getattr-rpc]]
 
-.MDS_GETATTR (33)
-[options="header"]
-|====
-| request       | reply
-| mdt_body_capa | mds_getattr_server
-|====
+Get attribute information for a resource on an MDT.
 
+.MDS_GETATTR Request Packet Structure
+image::mds-getattr-request.png["MDS_GETATTR Request Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The mds-getattr-request.png diagram resembles this text art:
+
+       MDS_GETATTR:
+      --request-------------------------------
+      | ptlrpc_body | mdt_body | lustre_capa |
+      ----------------------------------------
+//////////////////////////////////////////////////////////////////////
+
+'ptlrpc_body'::
+RPC descriptor. See <<struct-ptlrpc-body>>.
+
+include::struct_mdt_body.txt[]
+
+'lustre_capa'::
+A "capabilities" structure. See <<struct-lustre-capa>>.
+
+.MDS_GETATTR Reply Packet Structure
+image::mds-getattr-reply.png["MDS_GETATTR Reply Packet Structure",height=50]
+
+//////////////////////////////////////////////////////////////////////
+The mds-getattr-reply.png diagram resembles this text art:
+
+       MDS_GETATTR:
+      --reply----------------------------------------------
+      | ptlrpc_body | mdt_body | MDS_MD | ACL | fid1_capa |
+      -----------------------------------------------------
+      | fid2_capa |
+      ---------------
+//////////////////////////////////////////////////////////////////////
+
+'ptlrpc_body'::
+RPC descriptor. See <<struct-ptlrpc-body>>.
+
+'mdt_body'::
+Metadata about the resource. See <<struct-mdt-body>>.
+
+MDT_MD::
+Needs more detail.
+
+ACL::
+Needs more detail.
+
+'fid1_capa'::
+The capabilities structure for the first FID in the 'mdt_body'. See
+<<struct-lustre-capa>>.
+
+'fid2_capa'::
+The capabilities structure for the second FID in the 'mdt_body'. See
+<<struct-lustre-capa>>.