NeilBrown
45eaf45dfa
md: Always set RECOVERY_NEEDED when clearing RECOVERY_FROZEN
...
md_check_recovery will skip any recovery and also clear
MD_RECOVERY_NEEDED if MD_RECOVERY_FROZEN is set.
So when we clear _FROZEN, we must set _NEEDED and ensure that
md_check_recovery gets run.
Otherwise we could miss out on something that is needed.
In particular, this can make it impossible to remove a
failed device from an array is the 'recovery-needed' processing
didn't happen.
Suitable for stable kernels since 3.13.
Cc: stable@vger.kernel.org (3.13+)
Reported-and-tested-by: Joe Lawrence <joe.lawrence@stratus.com>
Fixes: 30b8feb730f9b9b3c5de02580897da03f59b6b16
Signed-off-by: NeilBrown <neilb@suse.de>
2014-11-17 09:17:46 +11:00
..
2014-10-04 10:55:32 -06:00
2014-03-27 16:56:23 -04:00
2014-10-09 10:07:04 +11:00
2013-12-11 15:28:36 -08:00
2014-06-11 16:48:54 -04:00
2014-06-03 13:44:08 -04:00
2013-11-23 22:33:55 -08:00
2014-10-18 12:25:30 -07:00
2014-01-14 23:23:03 -05:00
2014-01-14 23:23:04 -05:00
2014-03-27 16:56:23 -04:00
2014-08-01 12:30:33 -04:00
2014-08-01 12:30:33 -04:00
2013-03-20 17:21:27 +00:00
2013-11-11 11:37:50 -05:00
2014-02-28 12:18:29 -05:00
2014-01-16 13:44:11 -05:00
2014-01-16 13:44:11 -05:00
2014-09-10 11:20:47 -04:00
2014-10-14 10:51:23 +02:00
2014-01-30 11:19:05 -08:00
2014-06-03 13:44:08 -04:00
2012-07-27 15:07:59 +01:00
2010-08-12 04:13:51 +01:00
2013-11-23 22:33:47 -08:00
2014-08-01 12:30:30 -04:00
2014-10-05 20:03:35 -04:00
2013-08-23 09:02:13 -04:00
2013-11-23 22:33:47 -08:00
2014-01-21 23:46:27 -05:00
2014-10-05 20:03:38 -04:00
2009-09-04 20:40:34 +01:00
2012-07-30 17:25:16 -07:00
2014-10-05 20:03:35 -04:00
2008-10-10 13:36:58 +01:00
2011-10-31 19:31:18 -04:00
2009-06-22 10:12:27 +01:00
2012-03-28 18:41:26 +01:00
2014-02-18 10:48:57 -05:00
2014-10-05 20:03:36 -04:00
2013-11-23 22:33:47 -08:00
2012-03-28 18:41:26 +01:00
2012-03-28 18:41:26 +01:00
2014-03-03 17:58:13 -05:00
2011-10-31 19:31:19 -04:00
2014-07-16 15:10:39 +02:00
2014-08-26 13:45:47 -04:00
2013-09-05 20:46:06 -04:00
2013-11-23 22:33:47 -08:00
2014-08-01 12:30:37 -04:00
2014-01-14 23:23:04 -05:00
2014-10-05 20:03:35 -04:00
2013-09-05 20:46:05 -04:00
2014-07-15 14:05:26 -04:00
2014-03-05 15:25:35 -05:00
2014-08-01 12:30:35 -04:00
2011-10-31 19:31:19 -04:00
2007-10-20 02:01:26 +01:00
2014-04-15 12:19:24 -04:00
2014-07-10 16:44:14 -04:00
2014-10-05 20:03:35 -04:00
2014-10-05 20:03:35 -04:00
2013-11-23 22:33:47 -08:00
2014-03-27 16:56:23 -04:00
2014-10-14 13:08:29 +11:00
2011-10-11 16:48:54 +11:00
2014-03-27 16:56:23 -04:00
2014-11-17 09:17:46 +11:00
2014-10-14 13:08:29 +11:00
2014-10-14 13:08:29 +11:00
2011-10-11 16:48:57 +11:00
2014-10-14 13:08:29 +11:00
2012-03-19 12:46:39 +11:00
2014-10-14 13:08:29 +11:00
2014-10-14 13:08:29 +11:00
2014-10-14 13:08:29 +11:00
2014-10-14 13:08:29 +11:00
2014-10-14 13:08:29 +11:00
2013-02-26 11:55:30 +11:00