summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra G <rgowdapp@redhat.com>2013-08-20 17:34:35 +0530
committerRaghavendra G <rgowdapp@redhat.com>2013-09-03 10:28:04 +0530
commit81e4bb08f60e8fe58925d0ec058b332303486321 (patch)
tree21846c5440aa99fddfd32785f8ab859f4a7c2bdb
parentd3af16845d2a529a95ef25f4a712c208945c5d7f (diff)
features/quota: Add log when enforcer builds an inode's ancestry.
Change-Id: Ic31b77192d7cc21462f6b0eeee2938109681ca55 BUG: 969461 Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
-rw-r--r--xlators/features/quota/src/quota.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index 73614a2a..2170e646 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -445,6 +445,9 @@ quota_build_ancestry (call_frame_t *frame, inode_t *inode, xlator_t *this)
if (ret < 0)
goto err;
+ gf_log (this->name, GF_LOG_DEBUG, "building ancestry for inode (%s)",
+ uuid_utoa (inode->gfid));
+
/* This would ask posix layer to construct dentry chain till root */
STACK_WIND (frame, quota_build_ancestry_cbk, FIRST_CHILD(this),
FIRST_CHILD(this)->fops->getxattr, &local->validate_loc,