commit | f7b7bee75e06cbdce864f7b313ac05555e7eff6b | [log] [tgz] |
---|---|---|
author | Zhengyuan Liu <liuzhengyuan@kylinos.cn> | Sat Nov 26 10:57:13 2016 +0800 |
committer | Shaohua Li <shli@fb.com> | Tue Nov 29 11:56:20 2016 -0800 |
tree | 11e926af1490da8eacc17c40b9b771c6ee3efe48 | |
parent | d3014e21e18bfaf5b22144a45c399c8eb21aaba9 [diff] |
raid5-cache: add another check conditon before replaying one stripe New stripe that was just allocated has no STRIPE_R5C_CACHING state too, add this check condition could avoid unnecessary replaying for empty stripe. r5l_recovery_replay_one_stripe would reset stripe for any case, delete it to make code more clean. Signed-off-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn> Signed-off-by: Shaohua Li <shli@fb.com>