[PATCH V2 0/2] md/raid10: annotate lockless access and fix hungtask
Zizhi Wo <[email protected]>
| Newsgroups | org.kernel.vger.linux-raid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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/[email protected]/ 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