summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/quick-read')
-rw-r--r--xlators/performance/quick-read/src/quick-read.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c
index 0e4ce71a571..aa44c5d388b 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -1049,7 +1049,13 @@ qr_inode_table_destroy (qr_private_t *priv)
conf = &priv->conf;
for (i = 0; i < conf->max_pri; i++) {
- GF_ASSERT (list_empty (&priv->table.lru[i]));
+ /* There is a known leak of inodes, hence until
+ * that is fixed, log the assert as warning.
+ GF_ASSERT (list_empty (&priv->table.lru[i]));*/
+ if (!list_empty (&priv->table.lru[i])) {
+ gf_log ("quick-read", GF_LOG_INFO,
+ "quick read inode table lru not empty");
+ }
}
LOCK_DESTROY (&priv->table.lock);