summaryrefslogtreecommitdiffstats
path: root/drivers/power/olpc_battery.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-07-28 11:32:41 +1000
committerNeilBrown <neilb@suse.de>2011-07-28 11:32:41 +1000
commitcd5ff9a16f0831f68c1024d5d776075b5123b034 (patch)
tree490e297bde3d0c52b55d38b38ed1cdb5b5b6f43e /drivers/power/olpc_battery.c
parent2ca68f5ed7383733102ee53cd8fa4021ecc3b275 (diff)
md/raid1: Handle write errors by updating badblock log.
When we get a write error (in the data area, not in metadata), update the badblock log rather than failing the whole device. As the write may well be many blocks, we trying writing each block individually and only log the ones which fail. Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'drivers/power/olpc_battery.c')
0 files changed, 0 insertions, 0 deletions