Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1365489

Summary: glfs_truncate missing
Product: [Community] GlusterFS Reporter: Oleksandr Natalenko <oleksandr>
Component: libgfapiAssignee: Oleksandr Natalenko <oleksandr>
Status: CLOSED CURRENTRELEASE QA Contact: Sudhir D <sdharane>
Severity: low Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, rtalur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-22 13:28:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Oleksandr Natalenko 2016-08-09 11:34:32 UTC
glfs_truncate() is available in glfs.h but is not implemented.

Comment 1 Vijay Bellur 2016-08-09 11:35:25 UTC
REVIEW: (gfapi: add missing glfs_truncate) posted (#8) for review on master by Oleksandr Natalenko (

Comment 2 Vijay Bellur 2016-08-11 13:19:39 UTC
COMMIT: committed in master by Jeff Darcy ( 
commit 3c41525001c49d7ada5f54bb3c97bf82909ee23e
Author: Jeff Darcy <>
Date:   Tue Aug 9 13:20:26 2016 +0300

    gfapi: add missing glfs_truncate
    Change-Id: I80b016090a4d9d86278a0a5144dd58c0cbfe9bb2
    BUG: 1365489
    Signed-off-by: Jeff Darcy <>
    Signed-off-by: Oleksandr Natalenko <>
    Smoke: Gluster Build System <>
    CentOS-regression: Gluster Build System <>
    NetBSD-regression: NetBSD Build System <>
    Reviewed-by: Kaleb KEITHLEY <>

Comment 3 Worker Ant 2016-08-22 09:44:01 UTC
REVIEW: (tests: Remove explicit mention of include location) posted (#2) for review on master by Poornima G (

Comment 4 Worker Ant 2016-08-22 14:45:00 UTC
COMMIT: committed in master by Raghavendra Talur ( 
commit c48f99ae6b4cb44415f2451277cd472a26503034
Author: Poornima G <>
Date:   Thu Aug 18 12:36:37 2016 +0530

    tests: Remove explicit mention of include location
    This hopefully fixes the spurious failures with
     error: glusterfs/api/glfs.h No such file or directory
    BUG: 1365489
    Change-Id: Ic3660de810c0daee7284373bbfaed172aba86d69
    Signed-off-by: Poornima G <>
    NetBSD-regression: NetBSD Build System <>
    CentOS-regression: Gluster Build System <>
    Reviewed-by: Raghavendra Talur <>
    Smoke: Gluster Build System <>