diff options
author | 2016-06-02 16:19:52 +1000 | |
---|---|---|
committer | 2016-06-13 11:54:15 -0700 | |
commit | d094d6860b6678057f70dee27121ea4860c55e06 (patch) | |
tree | f15d56552c46374fea09de2818e49aec0437626f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | md/raid10: add rcu protection to rdev access in raid10_sync_request. (diff) | |
download | linux-dev-d094d6860b6678057f70dee27121ea4860c55e06.tar.xz linux-dev-d094d6860b6678057f70dee27121ea4860c55e06.zip |
md/raid10: add rcu protection to rdev access during reshape.
mirrors[].rdev can become NULL at any point unless:
- a counted reference is held
- ->reconfig_mutex is held, or
- rcu_read_lock() is held
Reshape isn't always suitably careful as in the past rdev couldn't be
removed during reshape. It can now, so add protection.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions