[PATCH V2 0/2] md/raid10: annotate lockless access and fix hungtask
From: Zizhi Wo
Date: Sun Aug 16 2026 - 23:41:34 EST
Patch 1 annotates the lockless access to conf->array_freeze_pending with
READ_ONCE()/WRITE_ONCE(). No functional change.
Patch 2 fixes a hungtask in raid10.
Changes in v2:
- Add patch 1 to annotate the lockless reads of conf->array_freeze_pending
with READ_ONCE(), paried with WRITE_ONCE() on the write side.
- Use READ_ONCE() when reading conf->array_freeze_pending in patch 2.
v1:
https://lore.kernel.org/all/20260810135521.3470422-1-wozizhi@xxxxxxxxxxxxxxx/
Zizhi Wo (2):
md/raid10: annotate lockless access to array_freeze_pending
md/raid10: fix missing wakeup in wait_barrier_nolock
drivers/md/raid10.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
--
2.52.0