diff options
author | Amar Tumballi <amar@gluster.com> | 2011-10-13 12:59:41 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-10-20 00:20:29 -0700 |
commit | 429550b75d2b97f24a102cc648bf9d8240965f93 (patch) | |
tree | 9c0dade4fe8c803303d5a0afd629d280932fde27 /libglusterfs/src/syncop.h | |
parent | 54b44736b1558cd7e3adf75a8ecfe1a5c236dc20 (diff) |
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 <jenkins@build.gluster.com>
Reviewed-by: Shishir Gowda <shishirng@gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs/src/syncop.h')
-rw-r--r-- | libglusterfs/src/syncop.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |