Call path below SIGALRM isn't safe
authorJens Axboe <jaxboe@fusionio.com>
Thu, 11 Nov 2010 08:19:49 +0000 (09:19 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 11 Nov 2010 08:19:49 +0000 (09:19 +0100)
commita5b01f1ba8d45e9b16079d2759a96ad9cad08e16
tree35408634cb9a1306c44151a3d7813d4d677d2b71
parent45ddf6761c54e55d5a31a6fbed546291254324a4
Call path below SIGALRM isn't safe

We do allocations, open files, printf, etc from the SIGALRM signal
handler which gets run every 250 msecs. This isn't necessarily
safe and could deadlock. Move it to thread context instead.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
eta.c
fio.c