Messages in this thread | | | Date | Tue, 24 May 2022 10:14:03 -0600 | From | Logan Gunthorpe <> | Subject | Re: [PATCH v1 12/15] md/raid5-cache: Add RCU protection to conf->log accesses |
| |
On 2022-05-23 12:15, Song Liu wrote: > On Sun, May 22, 2022 at 11:47 PM Song Liu <song@kernel.org> wrote: >> Maybe we should move the definition of r5l_log to raid5-log.h? > > Or we can use READ_ONCE(conf->log) for most cases.
READ_ONCE() will still generate sparse errors.
Logan
| |