Permalink
Browse files

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>
  • Loading branch information...
neilbrown committed Jul 28, 2011
1 parent a519b26 commit 2230dfe4ccc3add340dc6d437965b2de1d269fde
Showing with 459 additions and 4 deletions.
  1. +412 −3 drivers/md/md.c
  2. +47 −1 drivers/md/md.h
Oops, something went wrong.

0 comments on commit 2230dfe

Please sign in to comment.