commit | cef9175e52e8a240117b9f45b228fdaa0f1c0572 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Apr 26 17:05:57 2013 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Apr 26 17:05:57 2013 -0600 |
tree | 21995e88a2b3d4f7aef7ff2ec0d70a932c925e63 | |
parent | fdd5f15f8231e8c91c4deff22e630a34addd0fef [diff] |
Ensure that stat outputs are serialized Two issues: - We don't want potentially two stat outputs running at the same time. This could potentially happen if USR1 or interval stats race with the thread exit. - We could potentially crash if the interval or USR1 signaled stat output trigger when fio is tearing down. Let the main thread wait for any in-progress output in that case. Signed-off-by: Jens Axboe <axboe@kernel.dk>