1. 07 2月, 2008 1 次提交
    • J
      ocfs2: Negotiate locking protocol versions. · d24fbcda
      Joel Becker 提交于
      Currently, when ocfs2 nodes connect via TCP, they advertise their
      compatibility level.  If the versions do not match, two nodes cannot speak
      to each other and they disconnect. As a result, this provides no forward or
      backwards compatibility.
      
      This patch implements a simple protocol negotiation at the dlm level by
      introducing a major/minor version number scheme for entities that
      communicate.  Specifically, o2dlm has a major/minor version for interaction
      with o2dlm on other nodes, and ocfs2 itself has a major/minor version for
      interacting with the filesystem on other nodes.
      
      This will allow rolling upgrades of ocfs2 clusters when changes to the
      locking or network protocols can be done in a backwards compatible manner.
      In those cases, only the minor number is changed and the negotatied protocol
      minor is returned from dlm join. In the far less likely event that a
      required protocol change makes backwards compatibility impossible, we simply
      bump the major number.
      Signed-off-by: NJoel Becker <joel.becker@oracle.com>
      Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
      d24fbcda
  2. 08 2月, 2007 7 次提交
  3. 22 11月, 2006 1 次提交
  4. 25 9月, 2006 1 次提交
  5. 30 6月, 2006 1 次提交
  6. 27 6月, 2006 11 次提交
  7. 25 3月, 2006 2 次提交
  8. 02 3月, 2006 1 次提交
  9. 17 2月, 2006 1 次提交
  10. 04 2月, 2006 1 次提交
    • K
      [PATCH] ocfs2/dlm: fixes · e2faea4c
      Kurt Hackel 提交于
      * fix a hang which can occur during shutdown migration
      * do not allow nodes to join during recovery
      * when restarting lock mastery, do not ignore nodes which come up
      * more than one node could become recovery master, fix this
      * sleep to allow some time for heartbeat state to catch up to network
      * extra debug info for bad recovery state problems
      * make DLM_RECO_NODE_DATA_DONE a valid state for non-master recovery nodes
      * prune all locks from dead nodes on $RECOVERY lock resources
      * do NOT automatically add new nodes to mle nodemaps until they have properly
        joined the domain
      * make sure dlm_pick_recovery_master only exits when all nodes have synced
      * properly handle dlmunlock errors in dlm_pick_recovery_master
      * do not propagate network errors in dlm_send_begin_reco_message
      * dead nodes were not being put in the recovery map sometimes, fix this
      * dlmunlock was failing to clear the unlock actions on DLM_DENIED
      Signed-off-by: NKurt Hackel <kurt.hackel@oracle.com>
      Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
      e2faea4c
  11. 04 1月, 2006 1 次提交