[Gluster-devel] [bug #17745] wrapper macro to call child node ops
Anand Avati
INVALID.NOREPLY at gnu.org
Thu Sep 14 14:12:36 UTC 2006
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/
More information about the Gluster-devel
mailing list