diff options
author | 2014-12-15 12:56:59 +1100 | |
---|---|---|
committer | 2015-02-06 09:32:55 +1100 | |
commit | b7b17c9b67e5984210c83d50d2c8117d3bd50ea0 (patch) | |
tree | 072e63fa9cd1e1c314d9d99d0ae77d9e955d1a38 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | md/raid5: use ->lock to protect accessing raid5 sysfs attributes. (diff) | |
download | wireguard-linux-b7b17c9b67e5984210c83d50d2c8117d3bd50ea0.tar.xz wireguard-linux-b7b17c9b67e5984210c83d50d2c8117d3bd50ea0.zip |
md: remove mddev_lock() from md_attr_show()
Most attributes can be read safely without any locking.
A race might lead to a slightly out-dated value, but nothing wrong.
We already have locking in some places where needed.
All that remains is can_clear_show(), behind_writes_used_show()
and action_show() which are easily fixed.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions