From 7b5cd1873e4fc62e6295b5b6c530f1afd4bf4d61 Mon Sep 17 00:00:00 2001 From: Xavier Hernandez Date: Tue, 17 Nov 2015 14:06:20 +0100 Subject: 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 Reviewed-on: http://review.gluster.org/12599 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Pranith Kumar Karampuri --- xlators/cluster/ec/src/ec-data.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/cluster/ec/src/ec-data.h') 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; -- cgit