]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
right meaning of PARITY_ENABLE_RMW and PARITY_PREFER_RMW
authorSong Liu <songliubraving@fb.com>
Tue, 24 May 2016 00:25:06 +0000 (17:25 -0700)
committerShaohua Li <shli@fb.com>
Thu, 26 May 2016 04:26:07 +0000 (21:26 -0700)
commit4125758074279115346c1f17c986d24cd1ab799c
tree570917d42c4120ca40b27dd2229c82cefffc31a4
parent2f7c3a18a2dc79ddf7b83ae199b099a675e1adb2
right meaning of PARITY_ENABLE_RMW and PARITY_PREFER_RMW

In current handle_stripe_dirtying, the code prefers rmw with
PARITY_ENABLE_RMW; while prefers rcw with PARITY_PREFER_RMW.

This patch reverses this behavior.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c