Bug 1315727

Summary: Tier: Synchronization required in tier_run function
Product: [Community] GlusterFS Reporter: Mohammed Rafi KC <rkavunga>
Component: tieringAssignee: bugs <bugs>
Status: CLOSED DEFERRED QA Contact: bugs <bugs>
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: atumball, bugs, sarumuga
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-11 11:00:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mohammed Rafi KC 2016-03-08 13:31:37 UTC
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.

Comment 2 Amar Tumballi 2018-10-11 11:00:47 UTC
Tiering component recommended for no future action!