commit | 62244c9dbfa64f54a61b26af8f15a722362ac41a | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Thu Oct 23 08:53:33 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:25 2015 -0800 |
tree | 1a574f91ebaa9a2c2a61a85a12a01a655ddbbe25 | |
parent | acf7ead2975987d8fa8749f06595123d2f789560 [diff] |
Fix exit being slowed by disk util stat time Add a cv/lock to handle exit of the disk util thread. This is a lot cleaner than the adhoc method that was used before, and it means that we can signal the exit immediately instead of waiting for DISKUTIL_MSEC to pass. Signed-off-by: Jens Axboe <axboe@fb.com>