diff options
author | vmallika <vmallika@redhat.com> | 2015-08-20 12:01:57 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-08-27 06:35:11 -0700 |
commit | b883f937cc98d2b659de5c3eb1d12306df19aca3 (patch) | |
tree | 6df6a6baff9657f5950845df0ac210a13fac85e9 /xlators/features/marker/src/marker-quota.h | |
parent | 9e51aa646fdc5840b6fa9b12b35c5cc2af274c3c (diff) |
marker: fix log when loc.parent and inode gfid is NULL
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>
Reviewed-on: http://review.gluster.org/11863
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.h | 1 |
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 6bae110f014..9491d5e12bd 100644 --- a/xlators/features/marker/src/marker-quota.h +++ b/xlators/features/marker/src/marker-quota.h @@ -86,6 +86,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; }; |