Remove remaining core_id occurrences from public API
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -95,6 +95,8 @@ struct ocf_core {
|
||||
|
||||
bool ocf_core_is_valid(ocf_cache_t cache, ocf_core_id_t id);
|
||||
|
||||
ocf_core_id_t ocf_core_get_id(ocf_core_t core);
|
||||
|
||||
int ocf_core_volume_type_init(ocf_ctx_t ctx);
|
||||
|
||||
#endif /* __OCF_CORE_PRIV_H__ */
|
||||
|
||||
@@ -27,7 +27,7 @@ static int _ocf_core_desc(ocf_core_t core, void *ctx)
|
||||
ocf_trace_seq_id(cache),
|
||||
env_ticks_to_nsecs(env_get_tick_count()),
|
||||
sizeof(core_desc));
|
||||
core_desc.id = ocf_core_get_id(core);
|
||||
core_desc.name = ocf_core_get_name(core);
|
||||
core_desc.core_size = ocf_volume_get_length(
|
||||
ocf_core_get_volume(core));
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ static inline void ocf_trace_prep_io_event(struct ocf_event_io *ev,
|
||||
ev->len = req->byte_length;
|
||||
|
||||
ev->operation = op;
|
||||
ev->core_id = ocf_core_get_id(req->core);
|
||||
ev->core_name = ocf_core_get_name(req->core);
|
||||
|
||||
ev->io_class = req->ioi.io.io_class;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user