1. 08 Feb, 2008 1 commit
    • Marcin Slusarz's avatar
      byteorder: move le32_add_cpu & friends from OCFS2 to core · 8b5f6883
      Marcin Slusarz authored
      This patchset moves le*_add_cpu and be*_add_cpu functions from OCFS2 to core
      header (1st), converts ext3 filesystem to this API (2nd) and replaces XFS
      different named functions with new ones (3rd).
      There are many places where these functions will be useful.  Just look at:
      grep -r 'cpu_to_[ble12346]*([ble12346]*_to_cpu.*[-+]' linux-src/ Patch for
      ext3 is an example how conversions will probably look like.
      This patch:
      - move inline functions which add native byte order variable to
        little/big endian variable to core header
        * le16_add_cpu(__le16 *var, u16 val)
        * le32_add_cpu(__le32 *var, u32 val)
        * le64_add_cpu(__le64 *var, u64 val)
        * be32_add_cpu(__be32 *var, u32 val)
      - add for completeness:
        * be16_add_cpu(__be16 *var, u16 val)
        * be64_add_cpu(__be64 *var, u64 val)
      Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
      Acked-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
      Cc: David Chinner <dgc@sgi.com>
      Cc: Timothy Shimmin <tes@sgi.com>
      Cc: <linux-ext4@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
  2. 10 Jul, 2007 3 commits
  3. 14 Feb, 2007 2 commits
  4. 13 Dec, 2006 1 commit
  5. 11 Dec, 2006 1 commit
    • Andrew Beekhof's avatar
      [patch 3/3] OCFS2 Configurable timeouts - Protocol changes · 828ae6af
      Andrew Beekhof authored
      Modify the OCFS2 handshake to ensure essential timeouts are configured
      identically on all nodes.
      Only allow changes when there are no connected peers
      Improves the logic in o2net_advance_rx() which broke now that
      sizeof(struct o2net_handshake) is greater than sizeof(struct o2net_msg)
      Included is the field for userspace-heartbeat timeout to avoid the need for
      further protocol changes.
      Uses a global spinlock to ensure the decisions to update configfs entries
      are made on the correct value.  The region covered by the spinlock when
      incrementing the counter is much larger as this is the more critical case.
      Small cleanup contributed by Adrian Bunk <bunk@stusta.de>
      Signed-off-by: default avatarAndrew Beekhof <abeekhof@suse.de>
      Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
  6. 07 Dec, 2006 2 commits
  7. 20 Oct, 2006 1 commit
  8. 01 Mar, 2006 1 commit
  9. 09 Jan, 2006 1 commit
  10. 03 Jan, 2006 1 commit