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

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

 



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/





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

  Powered by Linux