NeilBrown d094d6860b md/raid10: add rcu protection to rdev access during reshape.
mirrors[].rdev can become NULL at any point unless:
   - a counted reference is held
   - ->reconfig_mutex is held, or
   - rcu_read_lock() is held

Reshape isn't always suitably careful as in the past rdev couldn't be
removed during reshape.  It can now, so add protection.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2016-06-13 11:54:15 -07:00
..
2016-05-25 15:38:56 -07:00
2016-05-24 11:00:20 -07:00
2016-05-25 10:40:15 -07:00
2016-05-19 11:27:09 -07:00
2016-05-19 11:47:18 -07:00
2016-05-20 21:26:15 -07:00
2016-05-20 21:26:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-20 14:51:34 -07:00
2016-05-25 10:40:15 -07:00
2016-05-24 11:00:20 -07:00
2016-05-18 16:38:59 -07:00
2016-05-20 11:10:24 -07:00
2016-05-24 11:00:20 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 21:20:31 -07:00
2016-05-20 21:12:25 -07:00
2016-05-20 21:26:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-20 18:33:37 -07:00
2016-05-24 11:12:32 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 14:35:07 -07:00
2016-05-20 21:12:25 -07:00
2016-05-25 09:47:26 -07:00
2016-05-25 10:40:15 -07:00
2016-05-24 10:22:34 -07:00
2016-05-23 11:18:01 -07:00