• NeilBrown's avatar
    md/linear: use call_rcu to free obsolete 'conf' structures. · 495d3573
    NeilBrown authored
    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>
    495d3573
linear.h 301 Bytes