Rojin George has uploaded this change for review.

View Change

Instrumentation changes to debug future lru_try_one crash

If the number of open FDs is above the low watermark, fd_lru starts
the cleanup job. During certain scenarios it was found that it is
trying to clean a fsal fd which was already freed up.

This CR adds some loggers to debug such use after free issues.

Change-Id: I28a74e0fa4665e3a252976ffca5b01c14bbdfa10
Signed-off-by: Rojin George <itsmerojin@gmail.com>
---
M src/FSAL/FSAL_VFS/file.c
M src/FSAL/commonlib.c
2 files changed, 31 insertions(+), 4 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I28a74e0fa4665e3a252976ffca5b01c14bbdfa10
Gerrit-Change-Number: 1174727
Gerrit-PatchSet: 1
Gerrit-Owner: Rojin George <itsmerojin@gmail.com>