Aligned ocf_volume
Force cacheline alignment to avoid cacheline trashing on static fields Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
parent
b12e124954
commit
33f29e43bc
@ -33,7 +33,7 @@ struct ocf_volume {
|
|||||||
/* true if reading discarded pages returns 0 */
|
/* true if reading discarded pages returns 0 */
|
||||||
} features;
|
} features;
|
||||||
struct ocf_refcnt refcnt;
|
struct ocf_refcnt refcnt;
|
||||||
};
|
} __attribute__((aligned(64)));
|
||||||
|
|
||||||
int ocf_volume_type_init(struct ocf_volume_type **type,
|
int ocf_volume_type_init(struct ocf_volume_type **type,
|
||||||
const struct ocf_volume_properties *properties,
|
const struct ocf_volume_properties *properties,
|
||||||
|
Loading…
Reference in New Issue
Block a user