gracefully handle full /tmp file system
authorGreg Edwards <greg.edwards@hp.com>
Fri, 25 Jun 2010 15:24:19 +0000 (09:24 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 28 Jun 2010 06:12:29 +0000 (08:12 +0200)
commit3a8600b4ae9027d02aca7eb1990e5cda4e9f423a
treed1c753697ecbe83623fe37c149f7b65d59f08fc8
parent18a56e5e5b942060a57b70114c1963bda777ce3f
gracefully handle full /tmp file system

If /tmp happens to be full, fio gives you a very unhelpful error:

# ./fio rand-write-256k-q256.job
Bus error

Use posix_fallocate() to gracefully handle this condition.

Signed-off-by: Greg Edwards <greg.edwards@hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
mutex.c
smalloc.c