Whamcloud - gitweb
LUDOC 299 protocol: Spell-check document
[doc/protocol.git] / struct_mgs_config_body.txt
1 .MGS Configuration Data
2 [[struct-mgs-config-body]]
3 ****
4 [source,c]
5 ----
6 #define MTI_NAME_MAXLEN  64
7 struct mgs_config_body {
8         char     mcb_name[MTI_NAME_MAXLEN]; /* logname */
9         __u64    mcb_offset;    /* next index of config log to request */
10         __u16    mcb_type;      /* type of log: CONFIG_T_[CONFIG|RECOVER] */
11         __u8     mcb_reserved;
12         __u8     mcb_bits;      /* bits unit size of config log */
13         __u32    mcb_units;     /* # of units for bulk transfer */
14 };
15 ----
16
17 The 'mgs_config_body' structure has information identifying to the MGS
18 which Lustre file system the client is requesting configuration information
19 from.  'mcb_name' contains the file system name (fsname).  'mcb_offset'
20 contains the next record number in the configuration llog to process
21 (see <<llog>> for details), not the byte offset or bulk transfer units.
22 'mcb_bits' is the log2 of the units of minimum bulk transfer size,
23 typically 4096 or 8192 bytes, while 'mcb_units' is the maximum number of
24 2^mcb_bits sized units that can be transferred in a single request.
25 ****