summaryrefslogtreecommitdiffstats
path: root/xlators/performance/readdir-ahead/src/readdir-ahead.h
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2017-10-25 17:00:36 +0530
committerAmar Tumballi <amarts@redhat.com>2018-01-18 03:52:56 +0000
commit80a6a2357c0c0351691c450c40de820efce7ff6f (patch)
treecbdc6c8dfc2ac0b912605a79dfb5fde6c77cdc03 /xlators/performance/readdir-ahead/src/readdir-ahead.h
parente6feebbb52c0833928d2acd51dd631d7ce5f2ecd (diff)
downloadglusterfs-80a6a2357c0c0351691c450c40de820efce7ff6f.tar.gz
glusterfs-80a6a2357c0c0351691c450c40de820efce7ff6f.tar.xz
glusterfs-80a6a2357c0c0351691c450c40de820efce7ff6f.zip
readdir-ahead: Add parallel-readdir option in readdir-ahead
parallel-readdir option is defined as belonging to readdir-ahead in glusterd-volume-set.c, but was not defined in options of readdir-ahead, fixing the same. Change-Id: I97cc88b38ab99ade5f066519ca1cb9bfed03a7da BUG: 1506197 Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'xlators/performance/readdir-ahead/src/readdir-ahead.h')
-rw-r--r--xlators/performance/readdir-ahead/src/readdir-ahead.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/readdir-ahead/src/readdir-ahead.h b/xlators/performance/readdir-ahead/src/readdir-ahead.h
index dda1a69246..3c06cc0f10 100644
--- a/xlators/performance/readdir-ahead/src/readdir-ahead.h
+++ b/xlators/performance/readdir-ahead/src/readdir-ahead.h
@@ -45,6 +45,7 @@ struct rda_priv {
uint64_t rda_high_wmark;
uint64_t rda_cache_limit;
gf_atomic_t rda_cache_size;
+ gf_boolean_t parallel_readdir;
};
#endif /* __READDIR_AHEAD_H */