commit | 41158c7eb22312cfaa256744e1553bb4042ff085 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@cse.unsw.edu.au> | Tue Jun 21 17:17:25 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Tue Jun 21 19:07:46 2005 -0700 |
tree | 21c28e0630d66fc32d758993299a78088a846562 | |
parent | 289e99e8ed8f36e386bf7de49947311c17ae1482 [diff] |
[PATCH] md: optimise reconstruction when re-adding a recently failed drive. When an array is degraded, bit in the intent-bitmap are never cleared. So if a recently failed drive is re-added, we only need to reconstruct the block that are still reflected in the bitmap. This patch adds support for this re-adding. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>