commit | ae1713e296449caf820635d384a99936ce281a71 | [log] [tgz] |
---|---|---|
author | Artur Paszkiewicz <artur.paszkiewicz@intel.com> | Tue Apr 04 13:13:58 2017 +0200 |
committer | Shaohua Li <shli@fb.com> | Mon Apr 10 12:01:37 2017 -0700 |
tree | 24e93bffe6c6cb527f282655ce4a447209629c6d | |
parent | 845b9e229fe0716ab6b4d94b4364c99069667b59 [diff] |
raid5-ppl: partial parity calculation optimization In case of read-modify-write, partial partity is the same as the result of ops_run_prexor5(), so we can just copy sh->dev[pd_idx].page into sh->ppl_page instead of calculating it again. Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Shaohua Li <shli@fb.com>