diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-04-16 11:34:18 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-29 10:12:27 -0700 |
commit | 5b5048670c34df3f9eab9a6a3ab8eec288bd9d74 (patch) | |
tree | c5c66e8e984b3030e74ac189605af0c3b961a56d /xlators/features/shard/src/shard.h | |
parent | 797e923da9f5f1eca4a51da177b1a7cbef75b5ad (diff) |
features/shard: Implement rename() fop
Change-Id: Ia39fa0f29eac84c18d13a94f704b1703565b504e
BUG: 1207615
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/10373
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/shard/src/shard.h')
-rw-r--r-- | xlators/features/shard/src/shard.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/features/shard/src/shard.h b/xlators/features/shard/src/shard.h index d128e0f152a..ed452b50190 100644 --- a/xlators/features/shard/src/shard.h +++ b/xlators/features/shard/src/shard.h @@ -147,11 +147,14 @@ typedef struct shard_local { int count; uint32_t flags; uint64_t block_size; + uint64_t dst_block_size; off_t offset; size_t total_size; size_t written_size; loc_t loc; loc_t dot_shard_loc; + loc_t loc2; + loc_t tmp_loc; fd_t *fd; dict_t *xattr_req; dict_t *xattr_rsp; @@ -159,6 +162,10 @@ typedef struct shard_local { glusterfs_fop_t fop; struct iatt prebuf; struct iatt postbuf; + struct iatt preoldparent; + struct iatt postoldparent; + struct iatt prenewparent; + struct iatt postnewparent; struct iovec *vector; struct iobref *iobref; shard_post_fop_handler_t handler; |