summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-quota.h
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-08-04 15:47:15 +0530
committerAnand Avati <avati@gluster.com>2011-08-05 02:40:58 -0700
commitb510ec361482a57c32b81aebb9d61a50676727f9 (patch)
tree02e230cb837a1f6b7af34181dc3c449cd3e6ae70 /xlators/features/marker/src/marker-quota.h
parent22c6a64f851e844091b4060f20ee3c24b28c80f7 (diff)
features/marker-quota: Performance improvement.
With this patch new transactions will not be triggered if an updation is already in progress on that inode. Change-Id: I587385498c4b2af8bd9624ca41c60742c5ef2485 BUG: 2988 Reviewed-on: http://review.gluster.com/76 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <raghavendra@gluster.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 384a96ccc05..c5eee41f968 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 {
int64_t size;
int8_t dirty;
+ gf_boolean_t updation_status;
gf_lock_t lock;
struct list_head contribution_head;
};