1. 08 Oct, 2010 1 commit
  2. 07 Oct, 2010 3 commits
    • Sunil Mushran's avatar
      · 18c50cb0
      Sunil Mushran authored
      
      ocfs2/cluster: Print messages when adding/removing heartbeat regions
      
      Prints messages when the user adds or removes heartbeat regions in global
      heartbeat mode. These messages are useful when debugging cluster related issues.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      18c50cb0
    • Sunil Mushran's avatar
      · 18cfdf1b
      Sunil Mushran authored
      
      ocfs2/dlm: Add message DLM_QUERY_NODEINFO
      
      Adds new dlm message DLM_QUERY_NODEINFO that sends the attributes of all
      registered nodes. This message is sent if the negotiated dlm protocol is
      1.1 or higher. If the information of the joining node does not match
      that of any existing nodes, the join domain request is rejected.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      18cfdf1b
    • Sunil Mushran's avatar
      · 5f3c6d9c
      Sunil Mushran authored
      
      ocfs2: Print message if user mounts without starting global heartbeat
      
      In global heartbeat mode, the heartbeat is started by the user. This patch
      prints an error if the user attempts to mount a volume without starting the
      heartbeat.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      5f3c6d9c
  3. 09 Oct, 2010 1 commit
    • Sunil Mushran's avatar
      · ea203441
      Sunil Mushran authored
      
      ocfs2/dlm: Add message DLM_QUERY_REGION
      
      Adds new dlm message DLM_QUERY_REGION that sends the names of all active
      heartbeat regions. This message is only sent in the global heartbeat
      mode. If the regions in the joining node do not fully match the ones in
      the active nodes, the join domain request is rejected.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      ea203441
  4. 07 Oct, 2010 3 commits
    • Sunil Mushran's avatar
      · b3c85c4c
      Sunil Mushran authored
      
      ocfs2/cluster: Get all heartbeat regions
      
      Export function in o2hb to get a list of heartbeat regions. It also adds an
      upper limit to the length of the heartbeat region name.
      
      o2hb_global_heartbeat_active() currently disables global heartbeat. It will
      be enabled in a later patch after all the code is added.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      b3c85c4c
    • Sunil Mushran's avatar
      · b1365d0b
      Sunil Mushran authored
      
      ocfs2/dlm: Expose dlm_protocol in dlm_state
      
      Add dlm_protocol to the list of info shown by the debugfs file, dlm_state.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      b1365d0b
    • Sunil Mushran's avatar
      · 2c442719
      Sunil Mushran authored
      
      ocfs2: Add support for heartbeat=global mount option
      
      Adds support for heartbeat=global mount option. It ensures that the heartbeat
      mode passed matches the one enabled on disk.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      2c442719
  5. 09 Oct, 2010 1 commit
    • Sunil Mushran's avatar
      · 98f486f2
      Sunil Mushran authored
      
      ocfs2: Add an incompat feature flag OCFS2_FEATURE_INCOMPAT_CLUSTERINFO
      
      OCFS2_FEATURE_INCOMPAT_CLUSTERINFO allows us to use sb->s_cluster_info for
      both userspace and o2cb cluster stacks. It also allows us to extend cluster
      info to include stack flags.
      
      This patch also adds stackflags to sb->s_clusterinfo. It also introduces a
      clusterinfo flag OCFS2_CLUSTER_O2CB_GLOBAL_HEARTBEAT to denote the enabled
      global heartbeat mode.
      
      This incompat flag can be set/cleared using tunefs.ocfs2 --fs-features. The
      clusterinfo flag is set/cleared using tunefs.ocfs2 --update-cluster-stack.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      98f486f2
  6. 07 Oct, 2010 1 commit
    • Sunil Mushran's avatar
      · 54b5187b
      Sunil Mushran authored
      
      ocfs2/cluster: Add heartbeat mode configfs parameter
      
      Add heartbeat mode parameter to the configfs tree. This will be used
      to set/show the heartbeat mode. The user is free to toggle the mode
      between local and global as long as there is no active heartbeat region.
      Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
      54b5187b
  7. 06 Oct, 2010 6 commits
  8. 05 Oct, 2010 6 commits
  9. 04 Oct, 2010 18 commits