Skip to content
Commit 495d3573 authored by NeilBrown's avatar NeilBrown
Browse files

md/linear: use call_rcu to free obsolete 'conf' structures.



Current, when we update the 'conf' structure, when adding a
drive to a linear array, we keep the old version around until
the array is finally stopped, as it is not safe to free it
immediately.

Now that we have rcu protection on all accesses to 'conf',
we can use call_rcu to free it more promptly.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent af11c397
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