Skip to content
Snippets Groups Projects
Commit f2785b52 authored by NeilBrown's avatar NeilBrown Committed by Shaohua Li
Browse files

md: document lifetime of internal rdev pointer.


The rdev pointer kept in the local 'config' for each for
raid1, raid10, raid4/5/6 has non-obvious lifetime rules.
Sometimes RCU is needed, sometimes a lock, something nothing.

Add documentation to explain this.

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
Signed-off-by: default avatarShaohua Li <sh.li@alibaba-inc.com>
parent 4b6c1060
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment