[dm-devel] [PATCH 1/7] multipath: fix tur checker locking
Bart Van Assche
Bart.VanAssche at wdc.com
Thu Feb 8 18:20:57 UTC 2018
On Thu, 2018-02-08 at 11:52 -0600, Benjamin Marzinski wrote:
> On Thu, Feb 08, 2018 at 09:49:20AM +0100, Martin Wilck wrote:
> > On Wed, 2018-02-07 at 16:49 -0600, Benjamin Marzinski wrote:
> > > + } else {
> > > + /* locking here solely to make static
> > > analyzers happy */
> >
> > Out of curiosity: which analyzers have you been using?
>
> You would have to ask Bart, who I forgot to CC on this patch. He added
> the code to always read ct->thread in a spin_lock, and said it was to
> make an analyzer happy.
The analyzer I used is a dynamic analyzer, namely drd. See also
http://valgrind.org/docs/manual/drd-manual.html.
Bart.
More information about the dm-devel
mailing list