Bug 765452 (GLUSTER-3720) - xdr: CLI <--> glusterd xdr's should have common xdr structures
Summary: xdr: CLI <--> glusterd xdr's should have common xdr structures
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3720
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-14 09:58 UTC by Amar Tumballi
Modified: 2013-12-19 00:07 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Amar Tumballi 2011-10-14 09:58:18 UTC
actually, below two structures are good enough for handling all our cli <--> glusterd communications, and that makes the code look more simple.

----
struct cli_req {
    opaque dict<>;
};

struct cli_rsp {
    int32_t op_ret;
    int32_t op_errno;
    string  op_errstr;
    opaque  dict<>;
};
----

Comment 1 Anand Avati 2011-11-16 06:42:32 UTC
CHANGE: http://review.gluster.com/662 (By using only 1 xdr struct for request and 1 xdr struct for response,) merged in master by Vijay Bellur (vijay)


Note You need to log in before you can comment on or make changes to this bug.