Hi, I reported one bug, and I think it’s quite easy to correct. You can have a look. posix_janitor_thread_proc (void *data) { xlator_t * this = NULL; struct posix_private *priv = NULL; struct posix_fd *pfd; time_t now; this = data; priv = this->private; THIS = this; while (1) { time (&now); if ((now - priv->last_landfill_check) > priv->janitor_sleep_duration) {
è if ( now < priv->last_landfill_check || (now - priv->last_landfill_check) > priv->janitor_sleep_duration) gf_msg_trace (this->name, 0, "janitor cleaning out %s", priv->trash_path); Br, Li Deqian |
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-users