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-07-27 14:03:52 -07:00
2016-07-28 17:38:16 -07:00
2016-07-30 11:32:01 -07:00
2016-07-28 15:45:17 -07:00
2016-07-30 11:32:01 -07:00
2016-07-27 14:58:31 -07:00
2016-07-30 11:32:01 -07:00
2016-07-20 23:39:36 -07:00
2016-07-28 17:38:16 -07:00
2016-07-30 11:32:01 -07:00
2016-07-26 17:23:08 -07:00
2016-07-26 18:27:20 -07:00
2016-07-28 17:38:16 -07:00
2016-07-27 14:11:43 -07:00
2016-07-27 11:35:37 -07:00
2016-07-27 15:18:53 -07:00