summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/inode.h
diff options
context:
space:
mode:
authorRaghavendra G <rgowdapp@redhat.com>2018-08-20 16:38:41 +0530
committerRaghavendra G <rgowdapp@redhat.com>2018-08-21 11:36:51 +0000
commit0eac8026f880bf8bf7e05530de16a06ba3e8a40c (patch)
treeb338c4cd797c6bf7cea21e5a1e2b9633fc3808fa /libglusterfs/src/inode.h
parentcb210f83455e2f659e734dfa09ff7602b5b75201 (diff)
Revert "performance/write-behind: better invalidation in readdirp"
This reverts commit 4d3c62e71f3250f10aa0344085a5ec2d45458d5c. Traversing all children of a directory in wb_readdirp caused significant performance regression. Hence reverting this patch Change-Id: I6c3b6cee2dd2aca41d49fe55ecdc6262e7cc5f34 updates: bz#1512691 Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'libglusterfs/src/inode.h')
-rw-r--r--libglusterfs/src/inode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h
index 96f67c05629..658477700c0 100644
--- a/libglusterfs/src/inode.h
+++ b/libglusterfs/src/inode.h
@@ -60,7 +60,6 @@ struct _inode_table {
struct _dentry {
struct list_head inode_list; /* list of dentries of inode */
struct list_head hash; /* hash table pointers */
- struct list_head parent_list; /* list of parent's children */
inode_t *inode; /* inode of this directory entry */
char *name; /* name of the directory entry */
inode_t *parent; /* directory of the entry */
@@ -100,7 +99,6 @@ struct _inode {
struct list_head dentry_list; /* list of directory entries for this inode */
struct list_head hash; /* hash table pointers */
struct list_head list; /* active/lru/purge */
- struct list_head children; /* list of children */
struct _inode_ctx *_ctx; /* replacement for dict_t *(inode->ctx) */
};