summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5-log.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-02-02 23:19:30 +0100
committerShaohua Li <sh.li@alibaba-inc.com>2018-02-18 19:22:27 +0100
commitf2785b527cda46314805123ddcbc871655b7c4c4 (patch)
tree797db5c31d88db7c308e660356501d1367c4cab8 /drivers/md/raid5-log.h
parentmd: fix md_write_start() deadlock w/o metadata devices (diff)
downloadlinux-f2785b527cda46314805123ddcbc871655b7c4c4.tar.xz
linux-f2785b527cda46314805123ddcbc871655b7c4c4.zip
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: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <sh.li@alibaba-inc.com>
Diffstat (limited to 'drivers/md/raid5-log.h')
0 files changed, 0 insertions, 0 deletions