RE: [PATCH] Fix lost wake-up shutting down writeback thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux