diff options
author | Anuradha Talur <atalur@redhat.com> | 2016-04-27 15:32:16 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-04-30 17:21:07 -0700 |
commit | 93eaeb9c93be3232f24e840044d560f9f0e66f71 (patch) | |
tree | 4499267cb96472d06067e9856cff1905e8003a49 /xlators/protocol/client/src/client.h | |
parent | 0d23f5207337fa54be57939eb8d70fe835d4658b (diff) |
protocol/client : Refactoring functions
These changes are made to accommodate compound fops.
The new functions that are added pack
the arguments required to perform the fops.
These will be used both by normal fops and compound ones.
Change-Id: I44d9cef8ff1d33aa2f5661689c8e9386d87b2007
BUG: 1303829
Signed-off-by: Anuradha Talur <atalur@redhat.com>
Reviewed-on: http://review.gluster.org/13963
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src/client.h')
-rw-r--r-- | xlators/protocol/client/src/client.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client.h b/xlators/protocol/client/src/client.h index 20a57a1f855..e27b1dbca21 100644 --- a/xlators/protocol/client/src/client.h +++ b/xlators/protocol/client/src/client.h @@ -21,6 +21,9 @@ #include "protocol-common.h" #include "glusterfs3.h" #include "fd-lk.h" +#include "defaults.h" +#include "default-args.h" +#include "client-messages.h" /* FIXME: Needs to be defined in a common file */ #define CLIENT_CMD_CONNECT "trusted.glusterfs.client-connect" @@ -277,4 +280,7 @@ int client_notify_dispatch (xlator_t *this, int32_t event, void *data, ...); int client_notify_dispatch_uniq (xlator_t *this, int32_t event, void *data, ...); + +gf_boolean_t +client_is_reopen_needed (fd_t *fd, xlator_t *this, int64_t remote_fd); #endif /* !_CLIENT_H */ |