Whamcloud - gitweb
LU-14289 ptlrpc: move heap.c from libcfs to ptlrpc
[fs/lustre-release.git] / lustre / include / lustre_nrs.h
index 8223c08..4f08eab 100644 (file)
@@ -672,6 +672,16 @@ enum {
 };
 
 #include <lustre_nrs_fifo.h>
+/**
+ * Binary heap node.
+ *
+ * Objects of this type are embedded into objects of the ordered set that is to
+ * be maintained by a \e struct cfs_binheap instance.
+ */
+struct cfs_binheap_node {
+       /** Index into the binary tree */
+       unsigned int    chn_index;
+};
 #ifdef HAVE_SERVER_SUPPORT
 #include <lustre_nrs_tbf.h>
 #include <lustre_nrs_crr.h>