disk_thread
static void *disk_thread(void *arg);
disk_thread(conn);
error = pthread_create(&td, NULL, disk_thread, res);