commit | 5ea735526bba5a6471a8b3bb347d5700cc868bdf | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Thu Sep 11 17:05:58 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:14 2015 -0800 |
tree | 94a84cc6f7bc7a4a22d685b6fc07a00587bbd16c | |
parent | 05074830620ea0811576e3565cc4c4bd48c89077 [diff] |
server: fix wrong use of exit() in server when daemonized We can't use exit(), or we'll trigger the atexit() hook and free the shared mem used for mutexes, etc. This can cause a hang when using a daemonized fio server. Reported-by: Castor Fu <castor@egocast.org> Signed-off-by: Jens Axboe <axboe@fb.com>