Attention is currently required from: Madhu Thorat.

skmprabhu252@gmail.com would like Madhu Thorat to review this change.

View Change

Add LogEventLimited to trace in fsal_common_is_referral

Under high load, the rate of messages like this :
fsal_common_is_referral :FSAL :EVENT :Failed to get attrs for referral,
handle: 0x7f3c700f5640, valid_mask: 0, request_mask: 14c086, supported: 0,
error: The file no longer exists

is really high   (~100 times a second for this customer)  and
is filling up ganesha.log heavily.

Modified LogEvent to LogEventLimited to limit EVENT logs.

Change-Id: Id14cd315e9240a015f5ea66598911d94ed149922
Signed-off-by: Madhu Thorat <madhu.punjabi@in.ibm.com>
---
M src/FSAL/commonlib.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/17/555917/1

To view, visit change 555917. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id14cd315e9240a015f5ea66598911d94ed149922
Gerrit-Change-Number: 555917
Gerrit-PatchSet: 1
Gerrit-Owner: skmprabhu252@gmail.com
Gerrit-Reviewer: Madhu Thorat <madhu.punjabi@in.ibm.com>
Gerrit-Attention: Madhu Thorat <madhu.punjabi@in.ibm.com>
Gerrit-MessageType: newchange