summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-inode-write.h
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2013-02-23 13:08:37 +0530
committerAnand Avati <avati@redhat.com>2013-09-18 14:01:52 -0700
commitf86a37bddf0f301c820c2a3ead50a93ce30dd2dc (patch)
tree4d413ba430cd707689757809aadd805ba06f34fd /xlators/cluster/afr/src/afr-inode-write.h
parent91e4b7aa1361087317238b9bf6427ef274737c8c (diff)
cluster/afr: Have common inode-write-fop cbk
Change-Id: Ia7b324b86d6a7051d187106d7a060155e77defc5 BUG: 910217 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/5238 Reviewed-by: Ravishankar N <ravishankar@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-inode-write.h')
-rw-r--r--xlators/cluster/afr/src/afr-inode-write.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.h b/xlators/cluster/afr/src/afr-inode-write.h
index ed11079fd1b..883faae6cb5 100644
--- a/xlators/cluster/afr/src/afr-inode-write.h
+++ b/xlators/cluster/afr/src/afr-inode-write.h
@@ -68,4 +68,11 @@ int32_t
afr_fremovexattr (call_frame_t *frame, xlator_t *this,
fd_t *fd, const char *name, dict_t *xdata);
+int
+afr_discard (call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
+ size_t len, dict_t *xdata);
+
+int
+afr_fallocate (call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t mode,
+ off_t offset, size_t len, dict_t *xdata);
#endif /* __INODE_WRITE_H__ */