diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2017-02-01 10:01:26 +0100 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2017-02-07 07:51:01 -0500 |
commit | cafdab5e13d74130abab6dca4267778d22d7d7f4 (patch) | |
tree | 7af7f9f972a1f0dc0ffb365e8ac93c9555dd56b9 /tests | |
parent | 563cafb5a5e742fc7fd2c175b332f0000c053040 (diff) |
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@datalab.es>
Reviewed-on: https://review.gluster.org/16498
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions