Bug 1315727 - Tier: Synchronization required in tier_run function
Tier: Synchronization required in tier_run function
Status: ASSIGNED
Product: GlusterFS
Classification: Community
Component: tiering (Show other bugs)
mainline
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: bugs@gluster.org
bugs@gluster.org
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-08 08:31 EST by Mohammed Rafi KC
Modified: 2018-01-29 15:10 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mohammed Rafi KC 2016-03-08 08:31:37 EST
Description of problem:

Two threads one for promotion and another for demotion writing/reading a variable without taking locks which can lead into inconsistency.

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

mainline

How reproducible:

never tried

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Also serialization is required for defrag->defrag_status variable.

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