[Bugs] [Bug 1629548] New: Excessive logging in posix_set_parent_ctime()

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 17 04:54:10 UTC 2018


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

            Bug ID: 1629548
           Summary: Excessive logging in posix_set_parent_ctime()
           Product: GlusterFS
           Version: 4.1
         Component: posix
          Assignee: bugs at gluster.org
          Reporter: khiremat at redhat.com
                CC: bugs at gluster.org, tdtiedem at up.com, vbellur at redhat.com
        Depends On: 1607049



+++ This bug was initially created as a clone of Bug #1607049 +++

Description of problem:

posix_set_parent_ctime() logs an error even when consistent ctime is not
enabled. This causes a flood of log messages, like:

9-bmux-posix: posix utime set mdata failed on file [Function not implemented]

11-bmux-posix: posix parent set mdata failed on file [No such file or
directory]

17-bmux-posix: posix parent set mdata failed on file [File exists]

This needs to be cleaned up.

Version-Release number of selected component (if applicable):
mainline

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2018-07-21 07:33:48 EDT ---

REVIEW: https://review.gluster.org/20547 (storage/posix: Avoid log flood in
posix_set_parent_ctime()) posted (#1) for review on master by Vijay Bellur

--- Additional comment from Worker Ant on 2018-07-22 23:57:49 EDT ---

COMMIT: https://review.gluster.org/20547 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- storage/posix: Avoid log flood in
posix_set_parent_ctime()

posix_set_parent_ctime() unconditionally logs an error if consistent
time attributes is not enabled. This log does not add any value, prints
an incorrect errno & floods the log file.

Hence nuking this log message in this patch.

Change-Id: I82a78f2f8ce5ab518f8cdf6d9086a97049712f75
fixes: bz#1607049
Signed-off-by: Vijay Bellur <vbellur at redhat.com>

--- Additional comment from Travis Tiedemann on 2018-09-11 16:16:11 EDT ---

How soon will a patch be available for this?


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1607049
[Bug 1607049] Excessive logging in posix_set_parent_ctime()
-- 
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