Skip to content

Commit

Permalink
dm mpath: move trigger_event member to the end of 'struct multipath'
Browse files Browse the repository at this point in the history
Allows the 'work_mutex' member to no longer cross a cacheline.

Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Hannes Reinecke <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
  • Loading branch information
snitm committed May 5, 2016
1 parent 91e968a commit 20800cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,14 @@ 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.
*/
mempool_t *mpio_pool;

struct mutex work_mutex;
struct work_struct trigger_event;
};

/*
Expand Down

0 comments on commit 20800cb

Please sign in to comment.