summaryrefslogtreecommitdiffstats
path: root/xlators/features/quiesce/src/quiesce.h
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2017-04-24 23:20:27 +0530
committerPoornima G <pgurusid@redhat.com>2017-12-29 04:30:52 +0000
commitd3cfd8dc8f7b774a8b081098f11237ebfa60156e (patch)
tree80e84418c4feed53cf7b449c9db3ee16d6fd65b7 /xlators/features/quiesce/src/quiesce.h
parentab3664210420e45568e938d87d0d522521cefd47 (diff)
quiesce: add fallocate and seek fops
quiesce is useful in a gfproxy setup where if gfproxy machine goes down the fop would be replayed. Hence only added the fops which is supported by fuse layer to start with. With this patch, no behavior change is added (ie, volfile change etc). Just making sure to have the translator up-to-date so that if required we can consume it. Updates #242 Change-Id: Id3bf204f2ccd42c3ac8f88d85836ecb855703e02 Signed-off-by: Amar Tumballi <amarts@redhat.com> Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'xlators/features/quiesce/src/quiesce.h')
-rw-r--r--xlators/features/quiesce/src/quiesce.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/features/quiesce/src/quiesce.h b/xlators/features/quiesce/src/quiesce.h
index a5fb43ccdc8..e76523c602b 100644
--- a/xlators/features/quiesce/src/quiesce.h
+++ b/xlators/features/quiesce/src/quiesce.h
@@ -47,6 +47,10 @@ typedef struct {
gf_xattrop_flags_t xattrop_flags;
int32_t wbflags;
uint32_t io_flag;
+ /* for fallocate */
+ size_t len;
+ /* for lseek */
+ gf_seek_what_t what;
} quiesce_local_t;
#endif