[Bugs] [Bug 1144407] New: Disperse xlator issues in a 32 bits environment

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 19 10:09:12 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1144407

            Bug ID: 1144407
           Summary: Disperse xlator issues in a 32 bits environment
           Product: GlusterFS
           Version: 3.6.0
         Component: disperse
          Assignee: gluster-bugs at redhat.com
          Reporter: xhernandez at datalab.es
                CC: bugs at gluster.org, gluster-bugs at redhat.com



+++ This bug was initially created as a clone of Bug #1125312 +++

Description of problem:

EC xlator doesn't work correctly when compiled with 32 bits.

Version-Release number of selected component (if applicable): master


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2014-09-15 12:02:59 CEST ---

REVIEW: http://review.gluster.org/8738 (ec: Fix some size_t vars to 64 bits
even on 32 bits machines) posted (#1) for review on master by Xavier Hernandez
(xhernandez at datalab.es)

--- Additional comment from Anand Avati on 2014-09-19 09:54:38 CEST ---

REVIEW: http://review.gluster.org/8738 (ec: Fix some size_t vars to 64 bits
even on 32 bits machines) posted (#2) for review on master by Xavier Hernandez
(xhernandez at datalab.es)

--- Additional comment from Anand Avati on 2014-09-19 12:02:51 CEST ---

COMMIT: http://review.gluster.org/8738 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit f32378b660dab5f3f311da8252969a7da16898f4
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Mon Sep 15 11:57:43 2014 +0200

    ec: Fix some size_t vars to 64 bits even on 32 bits machines

    The 64 bits 'trusted.ec.size' extended attribute was incorrectly
    computed on 32 bits machines due to an overflow on negative
    numbers.

    Also changed some potentially dangerous uses of size_t in other
    places.

    Change-Id: Id76cfe49a2f350e564b5c71d8c8644fb9ce86662
    BUG: 1125312
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/8738
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=1JEsFmaRFB&a=cc_unsubscribe


More information about the Bugs mailing list