Bug 1499865
Summary: | [RFE] Implement DISCARD FOP for EC | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Sunil Kumar Acharya <sheggodu> |
Component: | disperse | Assignee: | Sunil Kumar Acharya <sheggodu> |
Status: | CLOSED ERRATA | QA Contact: | Nag Pavan Chilakam <nchilaka> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | rhgs-3.3 | CC: | amukherj, aspandey, bugs, nchilaka, rhinduja, rhs-bugs, srmukher, storage-qa-internal, ubansal |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | RHGS 3.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.12.2-2 | Doc Type: | Enhancement |
Doc Text: |
This feature implements support for discard operation on Erasure Coded volumes. This operation can be used to deallocate blocks inside a file. Within the given range, partial fragments are zeroed, and whole fragments are deallocated.
|
Story Points: | --- |
Clone Of: | 1461018 | Environment: | |
Last Closed: | 2018-09-04 06:36:24 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: | |
Embargoed: | |||
Bug Depends On: | 1461018 | ||
Bug Blocks: | 1503132, 1518260 |
Description
Sunil Kumar Acharya
2017-10-09 13:50:28 UTC
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/123694/ sosreport and vmcore at http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/nchilaka/bug.1499865/ raised bug#1558433 - vmcore generated due to discard file operation as an RFE I have tested if discard fop is supported on an ecvolume. It works as expected, hence moving to verified. Any related issues ,if hit, will have new bugs raised. [root@dhcp37-146 ecode]# fallocate -p -o 0 -l 1 testme [root@dhcp37-146 ecode]# fallocate -p -o 0 -l 100 testme1 [root@dhcp37-146 ecode]# clientlog: [2018-03-26 12:44:38.397823] W [fuse-bridge.c:1381:fuse_err_cbk] 0-glusterfs-fuse: 56808: DISCARD() ERR => -1 (Success) [root@dhcp35-229 ~]# [root@dhcp35-229 ~]# rpm -qa|grep gluster vdsm-gluster-4.17.33-1.2.el7rhgs.noarch glusterfs-fuse-3.12.2-5.el7rhgs.x86_64 libvirt-daemon-driver-storage-gluster-3.9.0-14.el7.x86_64 glusterfs-libs-3.12.2-5.el7rhgs.x86_64 glusterfs-rdma-3.12.2-5.el7rhgs.x86_64 gluster-nagios-common-0.2.4-1.el7rhgs.noarch glusterfs-3.12.2-5.el7rhgs.x86_64 glusterfs-cli-3.12.2-5.el7rhgs.x86_64 python2-gluster-3.12.2-5.el7rhgs.x86_64 glusterfs-client-xlators-3.12.2-5.el7rhgs.x86_64 glusterfs-server-3.12.2-5.el7rhgs.x86_64 glusterfs-events-3.12.2-5.el7rhgs.x86_64 glusterfs-geo-replication-3.12.2-5.el7rhgs.x86_64 ugluster-nagios-addons-0.2.10-2.el7rhgs.x86_64 glusterfs-api-3.12.2-5.el7rhgs.x86_64 n[root@dhcp35-229 ~]# uname -a Linux dhcp35-229.lab.eng.blr.redhat.com 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux [root@dhcp35-229 ~]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2607 |