Linux RAID subsystem development
 help / color / mirror / Atom feed
* [PATCH V2 0/2] md/raid10: annotate lockless access and fix hungtask
@ 2026-08-17  3:33 Zizhi Wo
  2026-08-17  3:33 ` [PATCH V2 1/2] md/raid10: annotate lockless access to array_freeze_pending Zizhi Wo
  2026-08-17  3:33 ` [PATCH V2 2/2] md/raid10: fix missing wakeup in wait_barrier_nolock Zizhi Wo
  0 siblings, 2 replies; 4+ messages in thread
From: Zizhi Wo @ 2026-08-17  3:33 UTC (permalink / raw)
  To: song, yukuai, magiclinan, xiao, linux-raid
  Cc: linux-kernel, yangerkun, chengzhihao1, wozizhi

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/

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-17 10:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-17  3:33 [PATCH V2 0/2] md/raid10: annotate lockless access and fix hungtask Zizhi Wo
2026-08-17  3:33 ` [PATCH V2 1/2] md/raid10: annotate lockless access to array_freeze_pending Zizhi Wo
2026-08-17  3:33 ` [PATCH V2 2/2] md/raid10: fix missing wakeup in wait_barrier_nolock Zizhi Wo
2026-08-17 10:53   ` Abd-Alrhman Masalkhi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox