From: Christoph Hellwig <hch@lst.de> Date: 2021-08-25 14:18:51
On Wed, Aug 25, 2021 at 10:38:00PM +0900, Tetsuo Handa wrote:
I guess you might want below diff, for reinit_completion() immediately after
complete_all() likely resets completion count before all threads sleeping at
wait_for_completion_timeout() check the completion count.
Use of simple sequence count will be robuster.