Bug 1699500 - fix truncate lock to cover the write in tuncate clean
Summary: fix truncate lock to cover the write in tuncate clean
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: disperse
Version: 5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-12 23:56 UTC by Kinglong Mee
Modified: 2019-07-05 07:49 UTC (History)
2 users (show)

Fixed In Version: glusterfs-5.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-05 07:49:59 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22560 0 None Open ec: fix truncate lock to cover the write in tuncate clean 2019-05-08 14:21:05 UTC

Description Kinglong Mee 2019-04-12 23:56:36 UTC
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:

Comment 1 Worker Ant 2019-04-13 00:04:56 UTC
REVIEW: https://review.gluster.org/22560 (ec: fix truncate lock to cover the write in tuncate clean) posted (#1) for review on release-5 by Kinglong Mee

Comment 2 Worker Ant 2019-05-08 14:21:06 UTC
REVIEW: https://review.gluster.org/22560 (ec: fix truncate lock to cover the write in tuncate clean) merged (#2) on release-5 by Shyamsundar Ranganathan


Note You need to log in before you can comment on or make changes to this bug.