> From: J. Bruce Fields <bfields@xxxxxxxxxx> > > Setting the task state here may cause us to miss the wake up from > kthread_stop(), so we need to recheck kthread_should_stop() or risk > sleeping forever in the following schedule(). Oh yeah, if my sleepy brain does not lie me, that's it! Thanks a lot and sorry for troubles. I believe the other patch I sent is also a valid bug fix, but fixes a different issue. Acked-by: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx> Artem. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html