Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / struct_llogd_body.txt
1 .LLOGD Body
2 [[struct-llogd-body]]
3 ****
4 [source,c]
5 ----
6 struct llogd_body {
7         struct llog_logid  lgd_logid;
8         __u32 lgd_ctxt_idx;
9         __u32 lgd_llh_flags;
10         __u32 lgd_index;
11         __u32 lgd_saved_index;
12         __u32 lgd_len;
13         __u64 lgd_cur_offset;
14 };
15 ----
16 ****
17
18 .LLog LogID
19 [[struct-llog-logid]]
20 ****
21 [source,c]
22 ----
23 struct llog_logid {
24         struct ost_id           lgl_oi;
25         __u32                   lgl_ogen;
26 };
27 ----
28 ****
29
30 The 'llog_logid' structure is used to identify a single Lustre log file.
31 It holds a <<struct-ost-id>> in 'lgl_oi', which is typically a FID.