[Bugs] [Bug 1699499] New: fix truncate lock to cover the write in tuncate clean

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 12 23:55:41 UTC 2019


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

            Bug ID: 1699499
           Summary: fix truncate lock to cover the write in tuncate clean
           Product: GlusterFS
           Version: 6
            Status: NEW
         Component: disperse
          Assignee: bugs at gluster.org
          Reporter: kinglongmee at gmail.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



This bug was initially created as a copy of Bug #1699189

I am copying this bug because: 



Description of problem:

ec_truncate_clean does writing under the lock granted for truncate,
but the lock is calculated by ec_adjust_offset_up, so that,
the write in ec_truncate_clean is out of lock.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list