[Bugs] [Bug 1518260] New: EC DISCARD doesn't punch hole properly

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 28 14:01:55 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1518260

            Bug ID: 1518260
           Summary: EC DISCARD doesn't punch hole properly
           Product: Red Hat Gluster Storage
           Version: 3.4
         Component: disperse
          Severity: urgent
          Priority: urgent
          Assignee: aspandey at redhat.com
          Reporter: sheggodu at redhat.com
        QA Contact: nchilaka at redhat.com
                CC: bugs at gluster.org, rhs-bugs at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1516206
            Blocks: 1518255, 1518257



+++ This bug was initially created as a clone of Bug #1516206 +++

Description of problem:
DISCARD operation on EC volume doesn't punch hole properly in some cases.



How reproducible:

Always

Steps to Reproduce:
1. Create 4+2 EC volume

2. Create file
dd if=/dev/urandom of=/mnt/file bs=1024 count=8

3. Punch hole
fallocate -p -o 1500 -l 3000 /mnt/file

4. When checked hole size is less than the specified size.
Actual results:


Expected results:

Discard should punch hole of the size specified.

--- Additional comment from Worker Ant on 2017-11-22 04:57:37 EST ---

REVIEW: https://review.gluster.org/18838 (cluster/ec: EC DISCARD doesn't punch
hole properly) posted (#1) for review on master by Sunil Kumar Acharya

--- Additional comment from Worker Ant on 2017-11-28 04:35:06 EST ---

COMMIT: https://review.gluster.org/18838 committed in master by \"Sunil Kumar
Acharya\" <sheggodu at redhat.com> with a commit message- cluster/ec: EC DISCARD
doesn't punch hole properly

Problem:
DISCARD operation on EC volume was punching hole of lesser
size than the specified size in some cases.

Solution:
EC was not handling punch hole for tail part in some cases.
Updated the code to handle it appropriately.

BUG: 1516206
Change-Id: If3e69e417c3e5034afee04e78f5f78855e65f932
Signed-off-by: Sunil Kumar Acharya <sheggodu at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1516206
[Bug 1516206] EC DISCARD doesn't punch hole properly
https://bugzilla.redhat.com/show_bug.cgi?id=1518255
[Bug 1518255] EC DISCARD doesn't punch hole properly
https://bugzilla.redhat.com/show_bug.cgi?id=1518257
[Bug 1518257] EC DISCARD doesn't punch hole properly
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Rm6mPPRos9&a=cc_unsubscribe


More information about the Bugs mailing list