Bug 1242333 - rdma : pending - porting log messages to a new framework
Summary: rdma : pending - porting log messages to a new framework
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: logging
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Manikandan
QA Contact:
URL:
Whiteboard:
Depends On: 1242022 1252272 1252274
Blocks: 1241957
TreeView+ depends on / blocked
 
Reported: 2015-07-13 06:28 UTC by Manikandan
Modified: 2016-09-20 04:29 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.8rc2
Clone Of: 1242022
Environment:
Last Closed: 2016-06-16 13:22:53 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Manikandan 2015-07-13 06:28:51 UTC
+++ This bug was initially created as a clone of Bug #1242022 +++

Description of problem:
-----------------------
There are occurrences of gf_log and gf_log_callingfn under posix.
These instances should be ported to the corresponding gf_msg functions

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHGS 3.1 Nightly ( glusterfs-3.7.1-8.el6rhs )

Info:
-----
gf_log instances
=================
[satheesaran@dhcppc1 rdma]$ grep -r "gf_log " * -A1
src/name.c:  gf_log (this->name, GF_LOG_DEBUG,
src/name.c-    "transport.rdma.bind-path not specified "
--
src/name.c:  gf_log (this->name, GF_LOG_ERROR,
src/name.c-    "cannot bind to unix-domain socket %d (%s)",
--
src/rdma.c:  gf_log ("rdma", GF_LOG_WARNING,
src/rdma.c-     "deallocation of memory region "

gf_log_callingfn instances
===========================
[satheesaran@dhcppc1 rdma]$ grep -r "gf_log_callingfn " * -A1
src/rdma.c:    gf_log_callingfn (GF_RDMA_LOG_NAME, GF_LOG_WARNING,
src/rdma.c-       "not able to get a post to send msg");
--
src/rdma.c:    gf_log_callingfn (this->name, GF_LOG_DEBUG,
src/rdma.c-        "disconnect called (peer:%s)",

Comment 1 Anand Avati 2015-07-13 06:30:51 UTC
REVIEW: http://review.gluster.org/11607 (rdma : porting missing gf_log to gf_msg) posted (#3) for review on master by Manikandan Selvaganesh (mselvaga)

Comment 2 Manikandan 2015-07-13 06:38:48 UTC
Patch posted upstream master
http://review.gluster.org/#/c/11607/

Comment 3 Anand Avati 2015-07-13 06:50:04 UTC
COMMIT: http://review.gluster.org/11607 committed in master by Raghavendra G (rgowdapp) 
------
commit 6beb9ca292a0653d3d082af9d30f519a99569a14
Author: Manikandan Selvaganesh <mselvaga>
Date:   Fri Jul 10 10:50:40 2015 +0530

    rdma : porting missing gf_log to gf_msg
    
    Change-Id: I036b43007fbcd0e528faab8d44e1a7fc820eaf1f
    BUG: 1242333
    Signed-off-by: Manikandan Selvaganesh <mselvaga>
    Reviewed-on: http://review.gluster.org/11607
    Reviewed-by: Raghavendra G <rgowdapp>
    Tested-by: Raghavendra G <rgowdapp>

Comment 4 Niels de Vos 2016-06-16 13:22:53 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.