summaryrefslogtreecommitdiffstats
path: root/firmware/cis
diff options
context:
space:
mode:
authormajianpeng <majianpeng@gmail.com>2012-11-19 19:57:34 +0800
committerNeilBrown <neilb@suse.de>2012-12-13 19:52:11 +1100
commit0a19caabf01ac138bf3668786939e50ea4d9c8ac (patch)
treedc672faa83d44dbbb8097b367a35ce1cfba9c90f /firmware/cis
parent4f8c55c5ad491dbc7b52ce08bb702ca39ce944cf (diff)
downloadop-kernel-dev-0a19caabf01ac138bf3668786939e50ea4d9c8ac.zip
op-kernel-dev-0a19caabf01ac138bf3668786939e50ea4d9c8ac.tar.gz
md: Use ->curr_resync as last completed request when cleanly aborting resync.
If a resync is aborted cleanly, ->curr_resync is a reliable record of where we got up to. If there was an error it is less reliable but we always know that ->curr_resync_completed is safe. So add a flag MD_RECOVERY_ERROR to differentiate between these cases and set recovery_cp accordingly. Signed-off-by: Jianpeng Ma <majianpeng@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'firmware/cis')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud