Thread (5 messages) flat view 5 messages, 3 authors, 9d ago

Re: [PATCH V2 0/2] md/raid10: annotate lockless access and fix hungtask

From: "yu kuai" <yukuai@fygo.io>
Date: 2026-09-05 01:24:48
Also in: lkml

在 2026/8/17 11:33, Zizhi Wo 写道:
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@huaweicloud.com/ (local)

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(-)
Applied to md-7.3
-- 
Thanks,
Kuai
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help