summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quota.h
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2013-08-08 12:01:28 +0530
committerVijay Bellur <vbellur@redhat.com>2013-08-08 12:21:23 +0530
commit4a8c60e941caa61df5ff2a6a6d47826f1deeb0ad (patch)
treea121fa11ab951a0bee97bb91c2baa765c51bcfb0 /xlators/features/quota/src/quota.h
parent82890b0a753af50eb64271ba633e8da5527eb097 (diff)
features/quota: Introduce quota log helper function.
Change-Id: I38077c7adc497b314f4037cbbb116458a26ed589
Diffstat (limited to 'xlators/features/quota/src/quota.h')
-rw-r--r--xlators/features/quota/src/quota.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.h b/xlators/features/quota/src/quota.h
index 84e7f917..3f1458a3 100644
--- a/xlators/features/quota/src/quota.h
+++ b/xlators/features/quota/src/quota.h
@@ -142,6 +142,7 @@ struct quota_inode_ctx {
struct iatt buf;
struct list_head parents;
struct timeval tv;
+ struct timeval prev_log;
gf_lock_t lock;
};
typedef struct quota_inode_ctx quota_inode_ctx_t;
@@ -169,6 +170,7 @@ typedef struct quota_local quota_local_t;
struct quota_priv {
uint32_t soft_timeout;
uint32_t hard_timeout;
+ uint32_t log_timeout;
double default_soft_lim;
gf_boolean_t is_quota_on;
gf_boolean_t consider_statfs;