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] */
12 __u8 mcb_bits; /* bits unit size of config log */
13 __u32 mcb_units; /* # of units for bulk transfer */
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 filesystem 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.
28 struct mgs_config_res {
29 __u64 mcr_offset; /* index of last config log */
30 __u64 mcr_size; /* size of the log */
34 The 'mgs_config_res' structure returns information describing the
35 replied configuration llog data requested in 'mgs_config_body'.
36 'mcr_offset' contains the last configuration record number returned
37 by this reply. 'mcr_size' contains the maximum record index in the
38 entire configuration llog. When 'mcr_offset' equals 'mcr_size' there
39 are no more records to process in the log.