summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-quota.h
diff options
context:
space:
mode:
authorvmallika <vmallika@redhat.com>2015-08-20 12:01:57 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-08-27 21:24:57 -0700
commit71ffdc6aaa16a659cda75b931b5a5fe11e8ce001 (patch)
treee70988e1247d6441c2b5e4928e751d5371532f90 /xlators/features/marker/src/marker-quota.h
parent3481e42a5325ba8a53f9121005dca80419658ea8 (diff)
marker: fix log when loc.parent and inode gfid is NULL
This is the backport of http://review.gluster.org/#/c/11863 This patch does the following 1) Set loc.parent if it is NULL Don't log warning in txn if parent is NULL 2) Don't initiate txn when inode gfid is NULL 3) optimize invoking dirty txn with status flag > Change-Id: I67dd9e6268014b0b257c136e951e6ded0a2e911f > BUG: 1251454 > Signed-off-by: vmallika <vmallika@redhat.com> Change-Id: I6134aa37fc36141767afcc00d604806f349c74d1 BUG: 1257441 Signed-off-by: vmallika <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/12023 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/features/marker/src/marker-quota.h')
-rw-r--r--xlators/features/marker/src/marker-quota.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/marker/src/marker-quota.h b/xlators/features/marker/src/marker-quota.h
index 65cb0b297ac..1f50c264810 100644
--- a/xlators/features/marker/src/marker-quota.h
+++ b/xlators/features/marker/src/marker-quota.h
@@ -91,6 +91,7 @@ struct quota_inode_ctx {
int8_t dirty;
gf_boolean_t create_status;
gf_boolean_t updation_status;
+ gf_boolean_t dirty_status;
gf_lock_t lock;
struct list_head contribution_head;
};