commit | 3a31cf3d210f85d57fd302d83514832ebacb3ca7 | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <guoqing.jiang@cloud.ionos.com> | Tue Jul 28 12:01:43 2020 +0200 |
committer | Song Liu <songliubraving@fb.com> | Sun Aug 02 23:03:52 2020 -0700 |
tree | 36dcc6dec700e87b5e7df12d361e9b17345f778b | |
parent | 01b5d32a57fe83820d014485a4c41965bc3b5ce4 [diff] |
raid5: don't duplicate code for different paths in handle_stripe As we can see, R5_LOCKED is set and s.locked is increased whether R5_ReWrite is set or not, so move it to common path. Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> Signed-off-by: Song Liu <songliubraving@fb.com>