Whamcloud - gitweb
LU-9859 libcfs: use wait_event_timeout() in tracefiled(). 93/39293/4
authorMr NeilBrown <neilb@suse.de>
Mon, 6 Jul 2020 12:34:45 +0000 (08:34 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 22:11:56 +0000 (22:11 +0000)
commit0269ac4a0069b0e4bd5b8a3bd028d4804bb2c128
tree2a80c9f7b50e07227e3ecb9962b2429366a369b9
parent6ae187404a8d7f8a41a06c797cdd2dde90f93bd7
LU-9859 libcfs: use wait_event_timeout() in tracefiled().

By using wait_event_timeout() we can make it more clear what is being
waited for, and when the loop terminates.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I5d015a3cbdbb342a5117e2c328680b3ec13aeb58
Reviewed-on: https://review.whamcloud.com/39293
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/tracefile.c