aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2012-04-01 13:48:38 +0000
committerNeilBrown <[email protected]>2012-04-03 05:36:17 +0000
commit18b9837ea0dc3cf844c6c4196871ce91d047bddb (patch)
treede8be80b767d144405aeeaf7238c723f575b4b40 /lib/mpi/mpi-inline.h
parentmd/raid1: If md_integrity_register() failed,run() must free the mem (diff)
downloadkernel-18b9837ea0dc3cf844c6c4196871ce91d047bddb.tar.gz
kernel-18b9837ea0dc3cf844c6c4196871ce91d047bddb.zip
md/raid5: fix handling of bad blocks during recovery.
1/ We can only treat a known-bad-block like a read-error if we have the data that belongs in that block. So fix that test. 2/ If we cannot recovery a stripe due to insufficient data, don't tell "md_done_sync" that the sync failed unless we really did fail something. If we successfully record bad blocks, that is success. Reported-by: "majianpeng" <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions