summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-quota.h
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-08-05 10:18:16 +0530
committerAnand Avati <avati@gluster.com>2011-08-05 02:40:39 -0700
commita166a2bfc125c5775ce9ded30f83c60107c3fa8a (patch)
tree6223894082530ebe912944dbe0ffcb4b22d6d2b0 /xlators/features/marker/src/marker-quota.h
parent2504d3e11612ad109da223edf88c252b44ac9689 (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: I6477444ac69071b73b509ae670c83f301bb19bce BUG: 2988 Reviewed-on: http://review.gluster.com/169 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 a5dbf6bdf30..52aa5cef176 100644
--- a/xlators/features/marker/src/marker-quota.h
+++ b/xlators/features/marker/src/marker-quota.h
@@ -90,6 +90,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;
};