Song Liu 486b0f7bcd r5cache: set MD_JOURNAL_CLEAN correctly
Currently, the code sets MD_JOURNAL_CLEAN when the array has
MD_FEATURE_JOURNAL and the recovery_cp is MaxSector. The array
will be MD_JOURNAL_CLEAN even if the journal device is missing.

With this patch, the MD_JOURNAL_CLEAN is only set when the journal
device presents.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2016-08-24 10:21:50 -07:00
..
2016-06-07 13:41:38 -06:00
2014-01-14 23:23:03 -05:00
2016-07-01 10:53:21 -04:00
2016-07-28 17:38:16 -07:00
2016-06-07 13:41:38 -06:00
2016-07-20 17:37:01 -06:00
2016-06-07 13:41:38 -06:00
2016-07-28 17:38:16 -07:00
2016-07-28 17:38:16 -07:00
2016-07-20 23:49:50 -04:00
2016-07-28 17:38:16 -07:00
2016-07-20 17:37:01 -06:00
2016-07-28 17:38:16 -07:00
2016-07-20 23:49:49 -04:00
2016-01-20 13:52:20 -08:00
2016-08-24 10:21:50 -07:00
2015-08-13 12:31:57 -06:00