Sachin Punadikar has uploaded this change for review.
MDCACHE: lru_run should wait for server initialization
Situation like ABBA deadlock happens in the starting phase of Ganesha.
For a huge list of exports (more than a thousand), exports_pkginit takes
more time to process all the exports. Meanwhile "lru_run" thread starts
its execution.
At certain stage, init_export_root waits for lru lane lock and lru_run_lane
waits for export lock, leading to dead-lock.
Ideally lru_run should wait processing of all exports.
Change-Id: I94757062c9d54ec1fccc7caf26f5f0e0628ddf47
Signed-off-by: Sachin Punadikar <psachin@in.ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/14/444414/1
To view, visit change 444414. To unsubscribe, or for help writing mail filters, visit settings.