+++ This bug was initially created as a clone of Bug #1461018 +++ Adding discard functionality to EC. --- Additional comment from Worker Ant on 2017-07-14 06:46:37 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#1) for review on master by Sunil Kumar Acharya (sheggodu) --- Additional comment from Worker Ant on 2017-07-18 09:16:03 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#2) for review on master by Sunil Kumar Acharya (sheggodu) --- Additional comment from Worker Ant on 2017-07-19 06:48:22 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#3) for review on master by Sunil Kumar Acharya (sheggodu) --- Additional comment from Worker Ant on 2017-07-19 07:52:21 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#4) for review on master by Sunil Kumar Acharya (sheggodu) --- Additional comment from Worker Ant on 2017-07-21 11:42:00 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#5) for review on master by Sunil Kumar Acharya (sheggodu) --- Additional comment from Worker Ant on 2017-07-25 11:56:24 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#6) for review on master by Sunil Kumar Acharya (sheggodu) --- Additional comment from Worker Ant on 2017-08-01 03:22:06 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#7) for review on master by Sunil Kumar Acharya (sheggodu) --- Additional comment from Worker Ant on 2017-08-24 02:59:28 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#8) for review on master by Sunil Kumar Acharya (sheggodu) --- Additional comment from Worker Ant on 2017-09-28 08:40:27 EDT --- REVIEW: https://review.gluster.org/17777 (cluster/ec: Implement DISCARD FOP for EC) posted (#9) for review on master by Sunil Kumar Acharya (sheggodu)
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