Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Hannes Reinecke <hare@suse.com>
Tested-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>

+1 -2
+1 -2
drivers/md/dm-mpath.c
··· 89 89 atomic_t pg_init_in_progress; /* Only one pg_init allowed at once */ 90 90 atomic_t pg_init_count; /* Number of times pg_init called */ 91 91 92 - struct work_struct trigger_event; 93 - 94 92 /* 95 93 * We must use a mempool of dm_mpath_io structs so that we 96 94 * can resubmit bios on error. ··· 96 98 mempool_t *mpio_pool; 97 99 98 100 struct mutex work_mutex; 101 + struct work_struct trigger_event; 99 102 }; 100 103 101 104 /*