NeilBrown 126925c090 md: call md_update_sb even for 'external' metadata arrays.
Now that we depend on md_update_sb to clear variable bits in
mddev->flags (rather than trying not to set them) it is important to
always call md_update_sb when appropriate.

md_check_recovery has this job but explicitly avoids it for ->external
metadata arrays.  This is not longer appropraite, or needed.

However we do want to avoid taking the mddev lock if only
MD_CHANGE_PENDING is set as that is not cleared by md_update_sb for
external-metadata arrays.

Reported-by:  "Kwolek, Adam" <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2010-09-17 13:53:13 +10:00
..
2010-08-12 04:14:11 +01:00
2010-08-12 04:14:13 +01:00
2010-08-12 04:14:05 +01:00
2010-08-12 04:14:11 +01:00
2010-08-12 04:14:32 +01:00
2010-08-12 04:14:11 +01:00
2010-08-12 04:14:26 +01:00
2010-08-12 04:14:08 +01:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2010-08-12 04:14:08 +01:00
2010-08-30 18:06:21 +10:00