From 8a90d346b9d3f69ff11241feb0011c90a8e57e30 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Sat, 9 Feb 2019 13:23:06 +0530 Subject: inode: make critical section smaller do all the 'static' tasks outside of locked region. * hash_dentry() and hash_gfid() are now called outside locked region. * remove extra __dentry_hash exported in libglusterfs.sym * avoid checks in locked functions, if the check is done in calling function. * implement dentry_destroy(), which handles freeing of dentry separately, from that of dentry_unset (which takes care of separating dentry from inode, and table) Updates: bz#1670031 Change-Id: I584213e0748464bb427fbdef3c4ab6615d7d5eb0 Signed-off-by: Amar Tumballi --- libglusterfs/src/glusterfs/inode.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'libglusterfs/src/glusterfs/inode.h') diff --git a/libglusterfs/src/glusterfs/inode.h b/libglusterfs/src/glusterfs/inode.h index 52efdd85ccc..5cf2ab5080b 100644 --- a/libglusterfs/src/glusterfs/inode.h +++ b/libglusterfs/src/glusterfs/inode.h @@ -166,9 +166,6 @@ inode_rename(inode_table_t *table, inode_t *olddir, const char *oldname, inode_t *newdir, const char *newname, inode_t *inode, struct iatt *stbuf); -dentry_t * -__dentry_grep(inode_table_t *table, inode_t *parent, const char *name); - inode_t * inode_grep(inode_table_t *table, inode_t *parent, const char *name); -- cgit