diff options
author | ShyamsundarR <srangana@redhat.com> | 2018-03-09 16:51:57 -0500 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-03-11 15:52:22 +0530 |
commit | 95ae89504e302426e96b044c57ec07e81095c4dc (patch) | |
tree | b991696591f3900729b90933797d222a61e23c8d /xlators/protocol/server/src/server-helpers.h | |
parent | c1c43f8601050cd07b943413ebf41c6d5a3f5cab (diff) |
protocol: Added iatt conversion to older format
Added iatt conversion to an older format, when dealing with
older RPC versions. This enables iatt structure conformance
when dealing with older clients.
This helps fix rolling upgrade from 3.x versions to 4.0 version
of gluster by sending the right iatt in the dictionary when DHT
requests the same.
(cherry picked from commit b966c7790e35de353ae09ee48d4e2f55e0117f7e)
Change-Id: Ieaf925f81f8c7798a8fba1e90a59fa9dec82856c
BUG: 1551112
Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.h')
-rw-r--r-- | xlators/protocol/server/src/server-helpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server-helpers.h b/xlators/protocol/server/src/server-helpers.h index b89105a355f..73e2b89b21f 100644 --- a/xlators/protocol/server/src/server-helpers.h +++ b/xlators/protocol/server/src/server-helpers.h @@ -74,6 +74,8 @@ getactivelkinfo_rsp_cleanup (gfs3_getactivelk_rsp *rsp); int getactivelkinfo_rsp_cleanup_v2 (gfx_getactivelk_rsp *rsp); +int replace_old_iatt_in_dict (dict_t *); + int server_populate_compound_response (xlator_t *this, gfs3_compound_rsp *rsp, call_frame_t *frame, |