commit | 8c6ac868b107ed50a46204f6d14e2ad9443ff146 | [log] [tgz] |
---|---|---|
author | Andre Noll <maan@systemlinux.org> | Thu Jun 18 08:48:06 2009 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu Jun 18 08:48:06 2009 +1000 |
tree | a0690ce92ed1993cc3211448948f3964c389c082 | |
parent | 50ac168a6e0a061bf5346d53aa9e7beb94c97527 [diff] |
md: Push down reconstruction log message to personality code. Currently, the md layer checks in analyze_sbs() if the raid level supports reconstruction (mddev->level >= 1) and if reconstruction is in progress (mddev->recovery_cp != MaxSector). Move that printk into the personality code of those raid levels that care (levels 1, 4, 5, 6, 10). Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>