~ubuntu-branches/ubuntu/wily/glusterfs/wily

« back to all changes in this revision

Viewing changes to xlators/mgmt/glusterd/src/glusterd-op-sm.c

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2011-06-26 21:00:42 UTC
  • mfrom: (1.3.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110626210042-ps1aim0cwz06tkx1
Tags: 3.2.1-1
* New upstream release.
  - Refresh patch 02-spelling-error.
* Wrap dependencies.
* Merge libglusterfs0 and libglusterfs-dev package to glusterfs-common.
  Closes: #630147
* Use python-module.mk and remove useless python bytecode files.
  Closes: #630146

Show diffs side-by-side

added added

removed removed

Lines of Context:
2624
2624
 
2625
2625
        if (strcasecmp (trans_type, "rdma") == 0) {
2626
2626
                volinfo->transport_type = GF_TRANSPORT_RDMA;
 
2627
                volinfo->nfs_transport_type = GF_TRANSPORT_RDMA;
2627
2628
        } else if (strcasecmp (trans_type, "tcp") == 0) {
2628
2629
                volinfo->transport_type = GF_TRANSPORT_TCP;
 
2630
                volinfo->nfs_transport_type = GF_TRANSPORT_TCP;
2629
2631
        } else {
2630
2632
                volinfo->transport_type = GF_TRANSPORT_BOTH_TCP_RDMA;
 
2633
                volinfo->nfs_transport_type = GF_DEFAULT_NFS_TRANSPORT;
2631
2634
        }
2632
2635
 
2633
2636
        volinfo->sub_count = sub_count;
3464
3467
                        glusterd_brickinfo_t *src_brickinfo,
3465
3468
                        glusterd_brickinfo_t *dst_brickinfo)
3466
3469
{
3467
 
        char            status[2048] = {0,};
 
3470
        char            status[8192] = {0,};
3468
3471
        char            *status_reply = NULL;
3469
3472
        dict_t          *ctx          = NULL;
3470
3473
        int             ret = 0;