commit | 2953079c692da067aeb6345659875b97378f9b0a | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Thu Dec 08 15:48:19 2016 -0800 |
committer | Shaohua Li <shli@fb.com> | Thu Dec 08 22:01:47 2016 -0800 |
tree | 06bec98f71114629966da122360fd38a6f8ec422 | |
parent | 82a301cb0ea2df8a5c88213094a01660067c7fb4 [diff] |
md: separate flags for superblock changes The mddev->flags are used for different purposes. There are a lot of places we check/change the flags without masking unrelated flags, we could check/change unrelated flags. These usage are most for superblock write, so spearate superblock related flags. This should make the code clearer and also fix real bugs. Reviewed-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>