gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] [bug #17745] wrapper macro to call child node ops


From: Anand Avati
Subject: [Gluster-devel] [bug #17745] wrapper macro to call child node ops
Date: Thu, 14 Sep 2006 14:12:36 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

URL:
  <http://savannah.nongnu.org/bugs/?17745>

                 Summary: wrapper macro to call child node ops
                 Project: Gluster
            Submitted by: avati
            Submitted on: Thursday 09/14/2006 at 14:12
                Category: GlusterFS
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: Input Type Validation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Operating System: GNU/Linux

    _______________________________________________________

Details:

currently child node ops are called directly by fetching the function pointer
from the xlator structure like e.g:

xl->first_child->fop.fn()

this kind of code should be removed and replaced with a macro like

CALL_CHILD (xl, fn, args ...)

the macro will log child xlator name, fop name before and return value and
errno after each call.







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?17745>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]