Eta/disk thread uses more than the minimum stack
Causes crashes on FreeBSD. Just kill it, it's only really
important on the threads we potentially create tons of.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/fio.c b/fio.c
index 9d9027d..067aa24 100644
--- a/fio.c
+++ b/fio.c
@@ -146,13 +146,9 @@
static int create_disk_util_thread(void)
{
- pthread_attr_t attr;
int ret;
- pthread_attr_init(&attr);
- pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN);
- ret = pthread_create(&disk_util_thread, &attr, disk_thread_main, NULL);
- pthread_attr_destroy(&attr);
+ ret = pthread_create(&disk_util_thread, NULL, disk_thread_main, NULL);
if (ret) {
log_err("Can't create disk util thread: %s\n", strerror(ret));
return 1;