about bug 1659378

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux