Merge pull request #476 from mmkayPL/cacheline-alignment

Cacheline alignment
This commit is contained in:
Michał Mielewczyk
2021-03-26 12:01:55 +01:00
committed by GitHub
22 changed files with 118 additions and 112 deletions

View File

@@ -106,9 +106,6 @@ struct ocf_request {
struct ocf_io_internal ioi;
/*!< OCF IO associated with request */
const struct ocf_engine_callbacks *engine_cbs;
/*!< Engine owning the request */
env_atomic ref_count;
/*!< Reference usage count, once OCF request reaches zero it
* will be de-initialed. Get/Put method are intended to modify
@@ -128,6 +125,9 @@ struct ocf_request {
env_atomic master_remaining;
/*!< Atomic counter for core device */
const struct ocf_engine_callbacks *engine_cbs;
/*!< Engine owning the request */
ocf_cache_t cache;
/*!< Handle to cache instance */