]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
dm mpath: move trigger_event member to the end of 'struct multipath'
authorMike Snitzer <snitzer@redhat.com>
Thu, 17 Mar 2016 21:13:10 +0000 (17:13 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 5 May 2016 19:25:52 +0000 (15:25 -0400)
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>
drivers/md/dm-mpath.c

index 780e5d0a066fcf947f1630611c46e4161df13086..54daf96980c27d07b432f3157e639941084a1078 100644 (file)
@@ -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;
 };
 
 /*