Fio 2.1.12
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index 100b5d79eb14001cdbdddda7cc17c337765f0b52..f9e835d4b087aa17755d41f76a59d6cf0bb95c7e 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -73,12 +73,6 @@ static void iolog_delay(struct thread_data *td, unsigned long delay)
 
        delay -= usec;
 
-       /*
-        * less than 100 usec delay, just regard it as noise
-        */
-       if (delay < 100)
-               return;
-
        while (delay && !td->terminate) {
                this_delay = delay;
                if (this_delay > 500000)
@@ -113,7 +107,7 @@ static int ipo_special(struct thread_data *td, struct io_piece *ipo)
                td_io_close_file(td, f);
                break;
        case FIO_LOG_UNLINK_FILE:
-               unlink(f->file_name);
+               td_io_unlink_file(td, f);
                break;
        default:
                log_err("fio: bad file action %d\n", ipo->file_action);