X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lnet%2Finclude%2Flnet%2Fapi.h;h=bc6e9d9efcc95b138340121a939d42ffed78b16d;hb=b7278ecc699b5bd7c431222c93f1f209f02d4670;hp=a36510bfbc48d5d86f186159c703a3874d567fc7;hpb=d277f2ae95d0d0580059561706face3accfe3618;p=fs%2Flustre-release.git diff --git a/lnet/include/lnet/api.h b/lnet/include/lnet/api.h index a36510b..bc6e9d9 100644 --- a/lnet/include/lnet/api.h +++ b/lnet/include/lnet/api.h @@ -128,33 +128,9 @@ int LNetMDBind(struct lnet_md md_in, struct lnet_handle_md *md_handle_out); int LNetMDUnlink(struct lnet_handle_md md_in); -/** @} lnet_md */ - -/** \defgroup lnet_eq Events and event queues - * - * Event queues (abbreviated as EQ) are used to log operations performed on - * local MDs. In particular, they signal the completion of a data transmission - * into or out of a MD. They can also be used to hold acknowledgments for - * completed PUT operations and indicate when a MD has been unlinked. Multiple - * MDs can share a single EQ. An EQ must have an event handler - * associated with it. It will be run for each event that is deposited into - * the EQ. - * - * In addition to the struct lnet_eq, the LNet API defines two types - * associated with events: The ::lnet_event_kind defines the kinds of events - * that can be stored in an EQ. The struct lnet_event defines a structure that - * holds the information about with an event. - * - * There are two functions for dealing with EQs: LNetEQAlloc() is used - * to create an EQ and allocate the resources needed, while LNetEQFree() - * releases these resources and frees the EQ. - * @{ */ -struct lnet_eq * -LNetEQAlloc(lnet_eq_handler_t handler); -int LNetEQFree(struct lnet_eq *eventq_in); - -/** @} lnet_eq */ +void lnet_assert_handler_unused(lnet_handler_t handler); +/** @} lnet_md */ /** \defgroup lnet_data Data movement operations *