Skip to content
Commit 0da3c619 authored by NeilBrown's avatar NeilBrown
Browse files

md: Improve name of threads created by md_register_thread



The management thread for raid4,5,6 arrays are all called
mdX_raid5, independent of the actual raid level, which is wrong and
can be confusion.

So change md_register_thread to use the name from the personality
unless no alternate name (like 'resync' or 'reshape') is given.

This is simpler and more correct.

Cc: Jinzc <zhenchengjin@gmail.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent ee305ace
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