skmprabhu252@gmail.com has uploaded this change for review.
Fixing performance issues with export add and update operations
This delay is primarily due to the repetitive use of strcmp() in
get_gsh_export_by_path_locked(), get_gsh_export_by_pseudo_locked(),
and get_gsh_export_by_tag().
To address this, hash key checks have been added for fullpath, pseudopath,
and FS_tag. This will reduce the number of strcmp() calls.
Change-Id: Ib24b8b8ed801039839687852dab0ce56d213e91e
Signed-off-by: Prabhu Murugesan <prabhu.murugesan1@ibm.com>
---
M src/include/export_mgr.h
M src/support/export_mgr.c
M src/support/exports.c
3 files changed, 44 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/44/1183444/1
To view, visit change 1183444. To unsubscribe, or for help writing mail filters, visit settings.