Whamcloud - gitweb
43a31d7613eabb0ede357f3a4b37dd3d53cc6cfe
[doc/protocol.git] / mds_getstatus.txt
1 RPC 40: MDS GETSTATUS - get the status from a target
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 [[mds-getstatus-rpc]]
4
5 .MDS_GETSTATUS Generic Packet Structure
6 image::mds-getstatus-generic.png["MDS_GETSTATUS Generic Packet Structure",height=100]
7
8 //////////////////////////////////////////////////////////////////////
9 The mds-getstatus-generic.png diagram resembles this text art:
10
11        MDS_GETSTATUS:
12       --request-----------------
13       | ptlrpc_body | mdt_body |
14       --------------------------
15       --reply-------------------
16       | ptlrpc_body | mdt_body |
17       --------------------------
18 //////////////////////////////////////////////////////////////////////
19
20 'ptlrpc_body'::
21 RPC descriptor. See <<struct-ptlrpc_body>>.
22
23 'mdt_body'::
24 See <<struct-mdt-body>>.
25
26 In the request message, the 'mdt_body' is normally empty.
27
28 In the reply message, the 'mdt_body' contains only the FID of the
29 filesystem ROOT in 'mbo_fid1'.  The client can then use the returned
30 FID to fetch inode attributes for the root inode of the local
31 mountpoint.
32
33