1. 07 10月, 2010 1 次提交
    • S
      · a6de0136
      Sunil Mushran 提交于
      ocfs2/cluster: Create debugfs files for live, quorum and failed region bitmaps
      
      This patch prints the bitmaps of live, quorum and failed regions. This
      information will be useful in debugging cluster issues.
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      a6de0136
  2. 08 10月, 2010 1 次提交
    • S
      · b1c5ebfb
      Sunil Mushran 提交于
      ocfs2/cluster: Maintain bitmap of failed regions
      
      In global heartbeat mode, we track the bitmap of regions that have seen
      heartbeat timeouts. We fence if the number of such regions is greater than
      or equal to half the number of quorum regions.
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      b1c5ebfb
  3. 07 10月, 2010 2 次提交
    • S
      · 43182d2a
      Sunil Mushran 提交于
      ocfs2/cluster: Maintain bitmap of quorum regions
      
      o2hb allows online adding of regions. However, a newly added region is not
      used in quorum calculations unless it has been added on all nodes. This patch
      tracks a bitmap of such quorum regions.
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      43182d2a
    • S
      · e7d656ba
      Sunil Mushran 提交于
      ocfs2/cluster: Track bitmap of live heartbeat regions
      
      A heartbeat region becomes live (or active) after a fixed number of (steady)
      iterations.
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      e7d656ba
  4. 08 10月, 2010 1 次提交
    • S
      · 536f0741
      Sunil Mushran 提交于
      ocfs2/cluster: Track number of global heartbeat regions
      
      In global heartbeat mode, we have a upper limit for the number of active regions.
      This patch adds the facility to track the number of active global heartbeat
      regions and fails to start heartbeat if the number exceeds the maximum.
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      536f0741
  5. 07 10月, 2010 1 次提交
    • S
      · 823a637a
      Sunil Mushran 提交于
      ocfs2/cluster: Maintain live node bitmap per heartbeat region
      
      Currently we track a global livenode bitmap that keeps track of all nodes
      that are heartbeating in all regions.
      
      This patch adds the ability to track the livenode bitmap on a per region basis.
      We will use this facility in a later patch to allow us to withstand the loss of
      a minority number of regions.
      Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
      823a637a
  6. 08 10月, 2010 3 次提交
  7. 07 10月, 2010 1 次提交
    • S
      · 18c50cb0
      Sunil Mushran 提交于
      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: NSunil Mushran <sunil.mushran@oracle.com>
      18c50cb0
  8. 08 10月, 2010 1 次提交
    • S
      · 18cfdf1b
      Sunil Mushran 提交于
      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: NSunil Mushran <sunil.mushran@oracle.com>
      18cfdf1b
  9. 07 10月, 2010 1 次提交
    • S
      · 5f3c6d9c
      Sunil Mushran 提交于
      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: NSunil Mushran <sunil.mushran@oracle.com>
      5f3c6d9c
  10. 10 10月, 2010 1 次提交
    • S
      · ea203441
      Sunil Mushran 提交于
      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: NSunil Mushran <sunil.mushran@oracle.com>
      ea203441
  11. 08 10月, 2010 1 次提交
    • S
      · b3c85c4c
      Sunil Mushran 提交于
      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: NSunil Mushran <sunil.mushran@oracle.com>
      b3c85c4c
  12. 07 10月, 2010 1 次提交
  13. 08 10月, 2010 1 次提交
    • S
      · 2c442719
      Sunil Mushran 提交于
      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: NSunil Mushran <sunil.mushran@oracle.com>
      2c442719
  14. 10 10月, 2010 1 次提交
    • S
      · 98f486f2
      Sunil Mushran 提交于
      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: NSunil Mushran <sunil.mushran@oracle.com>
      98f486f2
  15. 08 10月, 2010 1 次提交
    • S
      · 54b5187b
      Sunil Mushran 提交于
      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: NSunil Mushran <sunil.mushran@oracle.com>
      54b5187b
  16. 07 10月, 2010 5 次提交
  17. 06 10月, 2010 5 次提交
  18. 05 10月, 2010 12 次提交