summaryrefslogtreecommitdiff
path: root/drivers/md/raid1.h
diff options
context:
space:
mode:
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>2017-04-04 13:13:58 +0200
committerShaohua Li <shli@fb.com>2017-04-10 12:01:37 -0700
commitae1713e296449caf820635d384a99936ce281a71 (patch)
tree24e93bffe6c6cb527f282655ce4a447209629c6d /drivers/md/raid1.h
parent845b9e229fe0716ab6b4d94b4364c99069667b59 (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>
Diffstat (limited to 'drivers/md/raid1.h')
0 files changed, 0 insertions, 0 deletions