On Wednesday, May 18, 2011 3:30 PM, Benjamin Herrenschmidt wrote: > > You may also want to look at Milton's comments, it looks like the way > you do init_completion followed immediately by wait_completion is racy. > > You should init the completion before you do the IO that will eventually > trigger complete() to be called. >
I agree. The init_completion needs to be done prior to posting the smid. I'm not sure why I did it that way. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev