diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-03-17 17:10:15 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-05-05 15:25:51 -0400 |
commit | 91e968aa6015d7366281b532dad2e48855b91fe3 (patch) | |
tree | 04dc336330a587a11ae3870d201225f43b3cb012 /tools/perf/scripts/python | |
parent | 518257b13276d07a19e6ae0608b8e5ee73383ce4 (diff) |
dm mpath: use atomic_t for counting members of 'struct multipath'
The use of atomic_t for nr_valid_paths, pg_init_in_progress and
pg_init_count will allow relaxing the use of the m->lock spinlock.
Suggested-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions