>From Malahal <[email protected]>:

Malahal has uploaded this change for review. ( 
https://review.gerrithub.io/390496


Change subject: Fix closing global file descriptors
......................................................................

Fix closing global file descriptors

Lru thread looks at entries in L1 queue to close any global file
descriptors. Lru thread run could close a global file descriptor for an
entry and put the entry in L2 queue. Next open of global file descriptor
for the entry should put the entry back into L1 queue, but currently
mdcache_lru_ref() does only every third time! This means some entries
with global file descriptor may stay in L2, and keep such a file open
until the entry itself gets freed!

This removes the every 3rd restriction and always promotes.

Change-Id: I39a6553d4b47eb9de8d69f59d0b59caa7d38ed0e
Signed-off-by: Malahal Naineni <[email protected]>
Co-authored-by: Madhu Thorat <[email protected]>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
1 file changed, 1 insertion(+), 5 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/96/390496/1
-- 
To view, visit https://review.gerrithub.io/390496
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I39a6553d4b47eb9de8d69f59d0b59caa7d38ed0e
Gerrit-Change-Number: 390496
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <[email protected]>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to