Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / struct_mgs_config_res.txt
1 .MGS Configuration Result
2 [[struct-mgs-config-res]]
3 ****
4 [source,c]
5 ----
6 struct mgs_config_res {
7         __u64    mcr_offset;    /* index of last config log */
8         __u64    mcr_size;      /* size of the log */
9 };
10 ----
11
12 The 'mgs_config_res' structure returns information describing the
13 replied configuration llog data requested in 'mgs_config_body'.
14 'mcr_offset' contains the last configuration record number returned
15 by this reply.  'mcr_size' contains the maximum record index in the
16 entire configuration llog.  When 'mcr_offset' equals 'mcr_size' there
17 are no more records to process in the log.
18 ****