NeilBrown 725d6e579f md/raid10: check In_sync flag in 'enough()'.
It isn't really enough to check that the rdev is present, we need to
also be sure that the device is still In_sync.

Doing this requires using rcu_dereference to access the rdev, and
holding the rcu_read_lock() to ensure the rdev doesn't disappear while
we look at it.

Signed-off-by: NeilBrown <neilb@suse.de>
2013-06-14 08:10:27 +10:00
..
2013-03-01 22:45:51 +00:00
2013-03-01 22:45:51 +00:00
2012-03-28 18:41:29 +01:00
2013-03-01 22:45:51 +00:00
2013-05-10 14:37:21 +01:00
2012-07-30 17:25:16 -07:00
2013-05-10 14:37:16 +01:00
2013-05-10 14:37:16 +01:00
2007-10-20 02:01:26 +01:00
2013-03-01 22:45:47 +00:00
2012-12-21 20:23:38 +00:00
2013-03-23 14:15:29 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 14:15:29 -07:00
2013-03-23 16:11:31 -07:00
2013-04-24 11:42:43 +10:00