commit | 2230dfe4ccc3add340dc6d437965b2de1d269fde | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Jul 28 11:31:46 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu Jul 28 11:31:46 2011 +1000 |
tree | fc45b727ad2e1a148e7d20f327b45a3afc474e9d | |
parent | a519b26dbe6533416d21b552053b0bf687f878d7 [diff] |
md: beginnings of bad block management. This the first step in allowing md to track bad-blocks per-device so that we can fail individual blocks rather than the whole device. This patch just adds a data structure for recording bad blocks, with routines to add, remove, search the list. Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>