md: beginnings of bad block management.
authorNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:31:46 +0000 (11:31 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:31:46 +0000 (11:31 +1000)
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>
drivers/md/md.c
drivers/md/md.h

diff --cc drivers/md/md.c
Simple merge
diff --cc drivers/md/md.h
Simple merge