Jon Kohler has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1176508?usp=email )
Change subject: Fix log_an_export critical path overhead
......................................................................
Fix log_an_export critical path overhead
LOG_EXPORT macro was added by 80fa5e56e79 ("Add some EXPORT debug"),
which adds calls to log_an_export in the critical path in release
binaries. Instead of reverting this commit, leave the structure and
calls in place, and instead add a compiler directive to only call
log_an_export IFDEF DEBUG, to allow these calls in debug binaries.
Change-Id: I5287c5d02473255935efdcc3b073934ce37f761e
Signed-off-by: Jon Kohler <jon(a)nutanix.com>
---
M src/include/nfs_exports.h
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/08/1176508/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1176508?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I5287c5d02473255935efdcc3b073934ce37f761e
Gerrit-Change-Number: 1176508
Gerrit-PatchSet: 1
Gerrit-Owner: Jon Kohler <jon(a)nutanix.com>