diff options
author | Mike Snitzer <snitzer@redhat.com> | 2012-06-03 00:29:43 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-06-03 00:29:43 +0100 |
commit | 1fbdd2b3a3cf77f77b0cdf25dd969241ea2c0ce1 (patch) | |
tree | 935f78f27afba09ec1784f5bac96454b43ed718a /drivers/md/dm-thin.c | |
parent | 76e10d158efb6d4516018846f60c2ab5501900bc (diff) |
dm mpath: reduce size of struct multipath
Move multipath structure's 'lock' and 'queue_size' members to eliminate
two 4-byte holes. Also use a bit within a single unsigned int for each
existing flag (saves 8-bytes). This allows future flags to be added
without each consuming an unsigned int.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin.c')
0 files changed, 0 insertions, 0 deletions