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