diff options
| author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-04-13 15:32:58 +0530 |
|---|---|---|
| committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-26 22:08:54 -0700 |
| commit | bc01c573e810b82efd59c4ffc5feeeaf2d4c72b5 (patch) | |
| tree | 3a8deb5895e9161ccc2fe14c519d8dca10d8adfb /xlators/features/shard/src/shard.h | |
| parent | 11ecab80a0ceb5fecf2dc04c0f9806b547c51c25 (diff) | |
features/shard: Implement unlink fop
Backport of: http://review.gluster.org/10249
Change-Id: I01761721224c4efbbc5e4992e70ecf68b3868d63
BUG: 1214247
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/10377
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/features/shard/src/shard.h b/xlators/features/shard/src/shard.h index 14f181624f7..d128e0f152a 100644 --- a/xlators/features/shard/src/shard.h +++ b/xlators/features/shard/src/shard.h @@ -130,6 +130,10 @@ typedef struct { typedef int32_t (*shard_post_fop_handler_t) (call_frame_t *frame, xlator_t *this); +typedef int32_t (*shard_post_resolve_fop_handler_t) (call_frame_t *frame, + xlator_t *this); +typedef int32_t (*shard_post_lookup_shards_fop_handler_t) (call_frame_t *frame, + xlator_t *this); typedef struct shard_local { int op_ret; @@ -152,11 +156,13 @@ typedef struct shard_local { dict_t *xattr_req; dict_t *xattr_rsp; inode_t **inode_list; + glusterfs_fop_t fop; struct iatt prebuf; struct iatt postbuf; struct iovec *vector; struct iobref *iobref; shard_post_fop_handler_t handler; + shard_post_lookup_shards_fop_handler_t pls_fop_handler; struct { int lock_count; fop_inodelk_cbk_t inodelk_cbk; |
