Whamcloud - gitweb
LUDOC-276 protocol: Document RPCs for setattr
[doc/protocol.git] / ost_lvb.txt
diff --git a/ost_lvb.txt b/ost_lvb.txt
new file mode 100644 (file)
index 0000000..60d29b6
--- /dev/null
@@ -0,0 +1,21 @@
+OST Lock Value Block
+^^^^^^^^^^^^^^^^^^^^
+[[struct-ost-lvb]]
+
+The 'ost_lvb' structure is a "lock value block", and encompasses
+attribute data for resources on the OST. It is an optional part of an
+LDLM_ENQUEUE reply RPC .
+
+----
+struct ost_lvb {
+       __u64   lvb_size;
+       __s64   lvb_mtime;
+       __s64   lvb_atime;
+       __s64   lvb_ctime;
+       __u64   lvb_blocks;
+       __u32   lvb_mtime_ns;
+       __u32   lvb_atime_ns;
+       __u32   lvb_ctime_ns;
+       __u32   lvb_padding;
+};
+----