diff options
author | Artur Paszkiewicz <artur.paszkiewicz@intel.com> | 2017-04-04 13:13:58 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-04-10 21:01:37 +0200 |
commit | ae1713e296449caf820635d384a99936ce281a71 (patch) | |
tree | 24e93bffe6c6cb527f282655ce4a447209629c6d /drivers/uio | |
parent | raid5-ppl: use resize_stripes() when enabling or disabling ppl (diff) | |
download | linux-ae1713e296449caf820635d384a99936ce281a71.tar.xz linux-ae1713e296449caf820635d384a99936ce281a71.zip |
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>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions