提交 20800cb3 编写于 作者: M Mike Snitzer

dm mpath: move trigger_event member to the end of 'struct multipath'

Allows the 'work_mutex' member to no longer cross a cacheline.
Reviewed-by: NHannes Reinecke <hare@suse.com>
Tested-by: NHannes Reinecke <hare@suse.com>
Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 91e968aa
......@@ -89,8 +89,6 @@ struct multipath {
atomic_t pg_init_in_progress; /* Only one pg_init allowed at once */
atomic_t pg_init_count; /* Number of times pg_init called */
struct work_struct trigger_event;
/*
* We must use a mempool of dm_mpath_io structs so that we
* can resubmit bios on error.
......@@ -98,6 +96,7 @@ struct multipath {
mempool_t *mpio_pool;
struct mutex work_mutex;
struct work_struct trigger_event;
};
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册