summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-types.h
diff options
context:
space:
mode:
authorXavier Hernandez <jahernan@redhat.com>2017-10-16 13:57:59 +0200
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-11-05 03:41:46 +0000
commit0dcd5b2feeeec7c29bd2454d6ad950d094d02b0f (patch)
tree7b0778f3d8bb3c9fbe9551d9c83fcee107af1d7b /xlators/cluster/ec/src/ec-types.h
parent337b5580aa8872a69631f8af17e1add7bb2a901d (diff)
cluster/ec: create eager-lock option for non-regular files
A new option is added to allow independent configuration of eager locking for regular files and non-regular files. Change-Id: I8f80e46d36d8551011132b15c0fac549b7fb1c60 BUG: 1502610 Signed-off-by: Xavier Hernandez <jahernan@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-types.h')
-rw-r--r--xlators/cluster/ec/src/ec-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-types.h b/xlators/cluster/ec/src/ec-types.h
index 9aed7dc1d27..23b30548450 100644
--- a/xlators/cluster/ec/src/ec-types.h
+++ b/xlators/cluster/ec/src/ec-types.h
@@ -573,6 +573,7 @@ struct _ec {
gf_timer_t *timer;
gf_boolean_t shutdown;
gf_boolean_t eager_lock;
+ gf_boolean_t other_eager_lock;
gf_boolean_t optimistic_changelog;
gf_boolean_t parallel_writes;
uint32_t background_heals;