RPC 13: OST_STATFS ~~~~~~~~~~~~~~~~~~ [[ost-statfs-rpc]] OST_STATFS is an RPC that queries data about the underlying file system for a given OST. The OST_STATFS request message is a so-called "empty" message in that it only has a buffer for the 'ptlrpc_body' with the 'pb_opc' value OST_STATFS (13). The reply message conveys 'statfs' data when it succeeds, and an error code if it doesn't. .OST_STATFS Request Packet Structure image::ost-statfs-request.png["OST_STATFS Request Packet Structure",height=50] ////////////////////////////////////////////////////////////////////// The ost-statfs-request.png diagram resembles this text art: OST_STATFS: --request------ | ptlrpc_body | --------------- ////////////////////////////////////////////////////////////////////// 'ptlrpc_body':: RPC descriptor. See <>. .OST_STATFS Reply Packet Structure image::ost-statfs-reply.png["OST_STATFS Reply Packet Structure",height=50] ////////////////////////////////////////////////////////////////////// The ost-statfs-reply.png diagram resembles this text art: OST_STATFS: --reply--------------------- | ptlrpc_body | obd_statfs | ---------------------------- ////////////////////////////////////////////////////////////////////// 'ptlrpc_body':: RPC descriptor. See <>. include::struct_obd_statfs.txt[]