summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
authorkarthik-us <ksubrahm@redhat.com>2018-02-23 15:12:19 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2018-03-02 05:28:00 +0000
commit11b3bbd649e15645c916c202d1e521d141f5130b (patch)
tree6e306e44b86c25c14705b1f3880f0e22c55f107e /xlators/cluster/afr/src/afr.h
parenta42137eee3c9e340ac9c82ebacca14eeb4b9d912 (diff)
cluster/afr: Make afr_fsync a transaction
Change-Id: I713401feb96393f668efb074f2d5b870d19e6fda BUG: 1548361 Signed-off-by: karthik-us <ksubrahm@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r--xlators/cluster/afr/src/afr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h
index fdda295718c..88d80f07a3c 100644
--- a/xlators/cluster/afr/src/afr.h
+++ b/xlators/cluster/afr/src/afr.h
@@ -725,6 +725,10 @@ typedef struct _afr_local {
gf_seek_what_t what;
} seek;
+ struct {
+ int32_t datasync;
+ } fsync;
+
} cont;
struct {