Bug 1475300 - implementation of fallocate call in read-only xlator
Summary: implementation of fallocate call in read-only xlator
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Sonal
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-26 12:13 UTC by Sonal
Modified: 2017-12-08 17:35 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.13.0
Clone Of:
Environment:
Last Closed: 2017-12-08 17:35:59 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sonal 2017-07-26 12:13:19 UTC
Description of problem:
Read-only xlator doesn't implement fallocate. Currently read-only doesn't provide functionality for this.

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


How reproducible:
Read-only should provide functionality for fallocate. If read-only is enabled, fallocate call should be declined, otherwise it should pass call to next xlator.

Steps to Reproduce:
1.
2.
3.

Actual results:
No functionality for fallocate in read-only xlator

Expected results:
fallocate implementation in read-only xlator.

Additional info:

Comment 3 Worker Ant 2017-07-31 11:11:59 UTC
REVIEW: https://review.gluster.org/17879 (read-only : currently read-only doesn't implement fallocate) posted (#2) for review on master by Sonal Arora (sarora)

Comment 4 Worker Ant 2017-08-02 12:31:43 UTC
REVIEW: https://review.gluster.org/17879 (read-only : currently read-only doesn't implement fallocate) posted (#3) for review on master by Sonal Arora (sarora)

Comment 5 Worker Ant 2017-08-07 13:15:46 UTC
COMMIT: https://review.gluster.org/17879 committed in master by Amar Tumballi (amarts) 
------
commit ebc8237d8c445af208446c937f31aa311d1efb2c
Author: SonaArora <aarorasona>
Date:   Wed Jul 26 17:43:45 2017 +0530

    read-only : currently read-only doesn't implement fallocate
    
    PROBLEM STATEMENT: read-only should block fallocate call if its enabled,
    else pass to next xlator. Implemented this functionality in read-only.
    
    BUG: 1475300
    Change-Id: I57c51eb4f1519ba75d7291eba49554e6ed4a25eb
    Signed-off-by: SonaArora <aarorasona>
    Reviewed-on: https://review.gluster.org/17879
    Smoke: Gluster Build System <jenkins.org>
    Tested-by: Karthik U S <ksubrahm>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Karthik U S <ksubrahm>
    Reviewed-by: Ashish Pandey <aspandey>
    Reviewed-by: Kotresh HR <khiremat>
    Reviewed-by: Amar Tumballi <amarts>

Comment 6 Shyamsundar 2017-12-08 17:35:59 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-3.13.0, please open a new bug report.

glusterfs-3.13.0 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/announce/2017-December/000087.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.