X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Fofd_access_log_reader.c;h=44986f6dccde0c9f6b4130fee5d360c8e12606f7;hp=5bbc20ad6a4d80f5766f09625a5448bdbaedfa8e;hb=37fd0f145e2410f7a8091e58804dccad43b04afd;hpb=9e24894e4ada4d381a5af6607c01fd378400707f diff --git a/lustre/utils/ofd_access_log_reader.c b/lustre/utils/ofd_access_log_reader.c index 5bbc20a..44986f6 100644 --- a/lustre/utils/ofd_access_log_reader.c +++ b/lustre/utils/ofd_access_log_reader.c @@ -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. */