Whamcloud - gitweb
LUDOC-297 protocol: Update protocol document
[doc/protocol.git] / struct_ost_lvb.txt
1 .OST Lock Value Block
2 [[struct-ost-lvb]]
3 ****
4 The 'ost_lvb' structure is a "lock value block", and encompasses
5 attribute data for resources on the OST. It is returned from an OST to
6 a client requesting an extent lock. It is an optional part of an
7 LDLM_ENQUEUE reply RPC for an MDT as well.
8
9 [source,c]
10 ----
11 struct ost_lvb {
12         __u64   lvb_size;
13         __s64   lvb_mtime;
14         __s64   lvb_atime;
15         __s64   lvb_ctime;
16         __u64   lvb_blocks;
17         __u32   lvb_mtime_ns;
18         __u32   lvb_atime_ns;
19         __u32   lvb_ctime_ns;
20         __u32   lvb_padding;
21 };
22 ----
23 ****