diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-12-13 05:17:06 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-12-14 02:57:43 +0100 |
commit | 4e59ca7da05f0d5d3ad40365c502c8b0fd24c7e3 (patch) | |
tree | d5ddc749ec13db16c1ed7a054546c2ea482c0e1e /Documentation/md.txt | |
parent | md: integrate spares into array at earliest opportunity. (diff) | |
download | linux-4e59ca7da05f0d5d3ad40365c502c8b0fd24c7e3.tar.xz linux-4e59ca7da05f0d5d3ad40365c502c8b0fd24c7e3.zip |
md: rcu_read_lock() walk of mddev->disks in md_do_sync()
Other walks of this list are either under rcu_read_lock() or the list
mutation lock (mddev_lock()). This protects against the improbable case of a
disk being removed from the array at the start of md_do_sync().
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Documentation/md.txt')
0 files changed, 0 insertions, 0 deletions