[Bugs] [Bug 1425307] Fix statvfs for FreeBSD in Python

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 10 22:41:05 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16634 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit f7152df58b0349d3411ecadb476890ec934007dd
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Wed Feb 1 10:01:26 2017 +0100

    extras/rebalance.py: Fix statvfs for FreeBSD in python

    FreeBSD doesn't return the block size in f_bsize as linux does. It
    returns the optimal I/O size, so we need to consider this to avoid
    invalid results. On FreeBSD we take f_frsize as the block size.

    > Change-Id: I72083d8ae183548439de874c77f1d60d9c2d14a7
    > BUG: 1356076
    > Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    > Reviewed-on: https://review.gluster.org/16498
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Jeff Darcy <jdarcy at redhat.com>

    Change-Id: I2ec327ca2c185716294a33c9ee8ca25fab70da8c
    BUG: 1425307
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: https://review.gluster.org/16634
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos 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=FtMB3jfxLK&a=cc_unsubscribe


More information about the Bugs mailing list