[Bugs] [Bug 1791154] New: xlators/features/quota/src/quota.c:quota_log_usage

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 15 02:58:29 UTC 2020


https://bugzilla.redhat.com/show_bug.cgi?id=1791154

            Bug ID: 1791154
           Summary: xlators/features/quota/src/quota.c:quota_log_usage
           Product: GlusterFS
           Version: 7
          Hardware: x86_64
                OS: Linux
            Status: NEW
         Component: quota
          Assignee: bugs at gluster.org
          Reporter: xijinyu0811 at 163.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



//The quota_log_helper() function applies memory for path through inode_path(),
no free.



if (DID_REACH_LIMIT(ctx->soft_lim, ctx->size, cur_size)) {
        quota_log_helper(&usage_str, cur_size, inode, &path, &cur_time);  
        gf_msg(this->name, GF_LOG_ALERT, 0, Q_MSG_CROSSED_SOFT_LIMIT,
               "Usage crossed soft limit: "
               "%s used by %s",
               usage_str, path);

        gf_event(EVENT_QUOTA_CROSSED_SOFT_LIMIT,
                 "Usage=%s;volume=%s;"
                 "path=%s",
                 usage_str, priv->volume_uuid, path);

        ctx->prev_log = cur_time;

    }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list