Whamcloud - gitweb
LUDOC-276 protocol: Document RPCs for setattr
[doc/protocol.git] / ldlm_resource_id.txt
diff --git a/ldlm_resource_id.txt b/ldlm_resource_id.txt
new file mode 100644 (file)
index 0000000..563f1b1
--- /dev/null
@@ -0,0 +1,16 @@
+LDLM Resource ID
+^^^^^^^^^^^^^^^^
+[[struct-ldlm-res-id]]
+
+This structure gets used in <<struct-ldlm-resource-desc>>.
+
+----
+struct ldlm_res_id {
+        __u64 name[4];
+};
+----
+
+The 'name' array holds identifiers for the resource in question. Those
+identifiers may be the elements of a 'struct lu_fid' file ID, or they
+may be other uniquely identifying values for the resource. See <<file-id>>.
+