Whamcloud - gitweb
LUDOC-296 protocol: remove internal details from descriptions
[doc/protocol.git] / ost_statfs.txt
1 RPC 13: OST_STATFS
2 ~~~~~~~~~~~~~~~~~~
3 [[ost-statfs-rpc]]
4
5 OST_STATFS ('pb_opc' = 13) is an RPC that queries data about the
6 underlying file system for a given OST. It's form and use are nearly
7 identical to the MDS_STATFS RPC. Refer to <<mds-statfs-rpc>> for
8 details. The only differences in OST_STATFS are that it has a distinct
9 'pb_opc' value, it carries information about an OST (instead of an
10 MDT).  The MDT may send regular OST_STATFS RPCs to each OST in order
11 to keep its information about free space and utilization updated.
12 That allows the MDS to make more optimal file allocation decisions.
13