From 429550b75d2b97f24a102cc648bf9d8240965f93 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 13 Oct 2011 12:59:41 +0530 Subject: distribute: handle migration of symlink and special files TODO: currently, wrt. rebalance/decommissioning, only pending thing is hardlink migration. Change-Id: I30cd06802e84c95601a5a081198f1f09c6d6bc01 BUG: 3714 Reviewed-on: http://review.gluster.com/578 Tested-by: Gluster Build System Reviewed-by: Shishir Gowda Reviewed-by: Vijay Bellur --- libglusterfs/src/syncop.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libglusterfs/src/syncop.h') diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h index 1c3fe07b517..9d9c5a9ccf7 100644 --- a/libglusterfs/src/syncop.h +++ b/libglusterfs/src/syncop.h @@ -82,6 +82,7 @@ struct syncargs { struct iovec *vector; int count; struct iobref *iobref; + char *buffer; /* do not touch */ pthread_mutex_t mutex; @@ -207,5 +208,9 @@ int syncop_fsync (xlator_t *subvol, fd_t *fd); int syncop_fstat (xlator_t *subvol, fd_t *fd, struct iatt *stbuf); int syncop_stat (xlator_t *subvol, loc_t *loc, struct iatt *stbuf); +int syncop_symlink (xlator_t *subvol, loc_t *loc, char *newpath, dict_t *dict); +int syncop_readlink (xlator_t *subvol, loc_t *loc, char **buffer, size_t size); +int syncop_mknod (xlator_t *subvol, loc_t *loc, mode_t mode, dev_t rdev, + dict_t *dict); #endif /* _SYNCOP_H */ -- cgit