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