commit | 6995f0b247e15e34fbcd10852c08b30bdc1a78da | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Thu Dec 08 15:48:17 2016 -0800 |
committer | Shaohua Li <shli@fb.com> | Thu Dec 08 22:00:11 2016 -0800 |
tree | cf269278686e1ace761edded6fe4e7ae64417920 | |
parent | 3c6edc66085e1d895a698c572bbfaf4d57fdb771 [diff] |
md: takeover should clear unrelated bits When we change level from raid1 to raid5, the MD_FAILFAST_SUPPORTED bit will be accidentally set, but raid5 doesn't support it. The same is true for the MD_HAS_JOURNAL bit. Fix: 46533ff (md: Use REQ_FAILFAST_* on metadata writes where appropriate) Reviewed-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>