Bug 1516691 - Rebalance fails on NetBSD because fallocate is not implemented
Summary: Rebalance fails on NetBSD because fallocate is not implemented
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: 3.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
: 1505597 (view as bug list)
Depends On: 1488103 1520232
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-23 09:44 UTC by Susant Kumar Palai
Modified: 2017-12-19 07:17 UTC (History)
5 users (show)

Fixed In Version: glusterfs-glusterfs-3.12.4
Clone Of: 1488103
Environment:
Last Closed: 2017-12-19 07:17:49 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Susant Kumar Palai 2017-11-23 09:44:31 UTC
+++ This bug was initially created as a clone of Bug #1488103 +++

Description of problem:
We discovered a bug with rebalance while trying to get https://review.gluster.org/17746 patch merged. We found that NetBSD doesn't have support for fallocate so rebalance will fail. We need to handle fallocate failures gracefully and provide rebalance support even when fallocate is not supported.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2017-10-25 17:01:40 MVT ---

REVIEW: https://review.gluster.org/18573 (cluster/dht: make rebalance use truncate incase) posted (#1) for review on master by Susant Palai (spalai)

--- Additional comment from Worker Ant on 2017-11-22 16:25:52 MVT ---

COMMIT: https://review.gluster.org/18573 committed in master by \"Susant Palai\" <spalai> with a commit message- cluster/dht: make rebalance use truncate incase

..
the brick file system does not support fallocate.

Change-Id: Id76cda2d8bb3b223b779e5e7a34f17c8bfa6283c
BUG: 1488103
Signed-off-by: Susant Palai <spalai>

Comment 1 Worker Ant 2017-11-23 09:47:00 UTC
REVIEW: https://review.gluster.org/18848 (cluster/dht: make rebalance use truncate incase) posted (#1) for review on release-3.12 by Susant Palai

Comment 2 Worker Ant 2017-11-30 06:39:42 UTC
COMMIT: https://review.gluster.org/18848 committed in release-3.12 by \"Susant Palai\" <spalai> with a commit message- cluster/dht: make rebalance use truncate incase

..
the brick file system does not support fallocate.

> Change-Id: Id76cda2d8bb3b223b779e5e7a34f17c8bfa6283c
> BUG: 1488103
> Signed-off-by: Susant Palai <spalai>

Change-Id: Id76cda2d8bb3b223b779e5e7a34f17c8bfa6283c
BUG: 1516691
Signed-off-by: Susant Palai <spalai>

Comment 3 Xavi Hernandez 2017-12-13 18:22:35 UTC
*** Bug 1505597 has been marked as a duplicate of this bug. ***

Comment 4 Jiffin 2017-12-19 07:17:49 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-glusterfs-3.12.4, please open a new bug report.

glusterfs-glusterfs-3.12.4 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-devel/2017-December/054093.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.