Re: [PATCH -next 10/29] md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'

From: Yu Kuai
Date: Mon Aug 21 2023 - 21:29:46 EST


Hi,

在 2023/08/22 8:15, Song Liu 写道:
On Thu, Aug 3, 2023 at 6:32 AM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:

From: Yu Kuai <yukuai3@xxxxxxxxxx>

'conf->log' is set with 'reconfig_mutex' grabbed, however, readers are
not procted, hence use READ_ONCE/WRITE_ONCE to prevent reading abnormal
value.

Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>

It appears to me that this patch doesn't apply to md-next. Please rebase
and resend all 3 sets.

Yes, I'll rebase previous 2 sets first, and wait for then before rebase
this set.

Thanks,
Kuai


Thanks,
Song
.