diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2017-07-18 18:39:01 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2017-10-10 03:40:27 +0000 |
commit | 7a179f55c7e7f7ce32b9938f91c8706133340157 (patch) | |
tree | aff0e7482a78542b333e0d1a780b7c277fe0dfe1 /xlators/cluster/ec/src/ec-types.h | |
parent | d561282633801bf3254c057188b7f18c7c6fe7c6 (diff) |
cluster/ec: Handle parallel get_size_version
Updates #251
Change-Id: I6244014dbc90af3239d63d75a064ae22ec12a054
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-types.h')
-rw-r--r-- | xlators/cluster/ec/src/ec-types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/cluster/ec/src/ec-types.h b/xlators/cluster/ec/src/ec-types.h index 907a3084952..d771741f0ac 100644 --- a/xlators/cluster/ec/src/ec-types.h +++ b/xlators/cluster/ec/src/ec-types.h @@ -227,8 +227,8 @@ struct _ec_lock { uintptr_t healing; uint32_t refs_owners; /* Refs for fops owning the lock */ uint32_t refs_pending; /* Refs assigned to fops being prepared */ + uint32_t waiting_flags; /*Track xattrop/dirty marking*/ gf_boolean_t acquired; - gf_boolean_t getting_xattr; gf_boolean_t unlock_now; gf_boolean_t release; gf_boolean_t query; @@ -250,6 +250,7 @@ struct _ec_lock_link { gf_boolean_t optimistic_changelog; loc_t *base; uint64_t size; + uint32_t waiting_flags; }; struct _ec_fop_data { |