summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-data.h
diff options
context:
space:
mode:
authorXavier Hernandez <xhernandez@datalab.es>2015-11-17 14:06:20 +0100
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-11-19 01:25:50 -0800
commit7b5cd1873e4fc62e6295b5b6c530f1afd4bf4d61 (patch)
tree07a87b9e12ee9012202852539c1492709fadabd9 /xlators/cluster/ec/src/ec-data.h
parentdb506cec11cdb2235aac7b6a896b4071bdcc6ae3 (diff)
cluster/ec: Mark internal fops appropriately
1) Mark read fops in read-modify-write by EC as internal. 2) Handle uid/gid set/reset correctly BUG: 1282761 Change-Id: I5c1ce0cd6213367eaead5fed33aa2397c4e46df7 Signed-off-by: Xavier Hernandez <xhernandez@datalab.es> Reviewed-on: http://review.gluster.org/12599 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-data.h')
-rw-r--r--xlators/cluster/ec/src/ec-data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-data.h b/xlators/cluster/ec/src/ec-data.h
index cc5c05aa838..9107b4b156e 100644
--- a/xlators/cluster/ec/src/ec-data.h
+++ b/xlators/cluster/ec/src/ec-data.h
@@ -208,6 +208,9 @@ struct _ec_fop_data
uintptr_t received; /* Mask of responses */
uintptr_t good;
+ uid_t uid;
+ gid_t gid;
+
ec_wind_f wind;
ec_handler_f handler;
ec_resume_f resume;