Whamcloud - gitweb
LU-14051 utils: flush alr batch file in thread
[fs/lustre-release.git] / lustre / utils / ofd_access_log_reader.c
index 5bbc20a..44986f6 100644 (file)
@@ -508,14 +508,6 @@ static int alr_batch_timer_io(int epoll_fd, struct alr_dev *td, unsigned int mas
                        alr_batch_file_path, strerror(errno));
                goto out;
        }
-
-       /* FIXME: blocking write to batch file. */
-       rc = fflush(alr_batch_file);
-       if (rc < 0) {
-               ERROR("cannot write to '%s': %s\n",
-                       alr_batch_file_path, strerror(errno));
-               goto out;
-       }
 out:
        /* Failed writes will leave alr_batch_file (pipe) in a
         * weird state so make that fatal. */