On Fri, Dec 9, 2016 at 3:23 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> This basically means that if the latch is set, we don't wait at all
> and drop the ball. I am wondering: isn't that a problem even if
> WL_LATCH_SET is *not* set? If I read this code correctly, even if
> caller has not set WL_LATCH_SET and the latch is set, then the wait
> will stop.
Nah. I misread the code. set->latch is not NULL only if WL_LATCH_SET is enabled.
--
Michael