]> git.baikalelectronics.ru Git - kernel.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)
commit29f7d027a18d2e84aff7d0759593d6c23feee377
tree570917d42c4120ca40b27dd2229c82cefffc31a4
parent3be9e45658d38d59e14c40c5e42e2d94116880d9
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