Metadata updater mutex alignment

Avoids trashing of (mostly) static and often used entries

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
Kozlowski Mateusz 2021-03-18 13:52:31 +01:00
parent e391fc2c13
commit e054949cbb

View File

@ -14,7 +14,7 @@ struct ocf_metadata_updater {
struct ocf_metadata_io_syncher { struct ocf_metadata_io_syncher {
struct list_head in_progress_head; struct list_head in_progress_head;
struct list_head pending_head; struct list_head pending_head;
env_mutex lock; env_mutex lock __attribute__((aligned(64)));
} syncher; } syncher;
void *priv; void *priv;