~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to daemons/clvmd/clvm.h

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2013-03-03 12:33:47 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20130303123347-smfwei6dodkdth55
Tags: 2.02.98-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        uint16_t xid;           /* Transaction ID */
31
31
        uint32_t clientid;      /* Only used in Daemon->Daemon comms */
32
32
        int32_t  status;        /* For replies, whether request succeeded */
33
 
        uint32_t arglen;        /* Length of argument below. 
34
 
                                   If >1500 then it will be passed 
 
33
        uint32_t arglen;        /* Length of argument below.
 
34
                                   If >1500 then it will be passed
35
35
                                   around the cluster in the system LV */
36
36
        char node[1];           /* Actually a NUL-terminated string, node name.
37
 
                                   If this is empty then the command is 
38
 
                                   forwarded to all cluster nodes unless 
 
37
                                   If this is empty then the command is
 
38
                                   forwarded to all cluster nodes unless
39
39
                                   FLAG_LOCAL or FLAG_REMOTE is also set. */
40
 
        char args[1];           /* Arguments for the command follow the 
 
40
        char args[1];           /* Arguments for the command follow the
41
41
                                   node name, This member is only
42
42
                                   valid if the node name is empty */
43
43
} __attribute__ ((packed));
54
54
/* Internal commands & replies */
55
55
#define CLVMD_CMD_REPLY    1
56
56
#define CLVMD_CMD_VERSION  2    /* Send version around cluster when we start */
57
 
#define CLVMD_CMD_GOAWAY   3    /* Die if received this - we are running 
 
57
#define CLVMD_CMD_GOAWAY   3    /* Die if received this - we are running
58
58
                                   an incompatible version */
59
59
#define CLVMD_CMD_TEST     4    /* Just for mucking about */
60
60