};
#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 binheap instance.
+ */
+struct 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>
unsigned nr_enqueued:1;
unsigned nr_started:1;
unsigned nr_finalized:1;
- struct cfs_binheap_node nr_node;
+ struct binheap_node nr_node;
/**
* Policy-specific fields, used for determining a request's scheduling