Project

General

Profile

Bug #4033

krbd: add barriers near done flag operations

Added by Alex Elder about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I fixed this problem while investigating the rbd hangs
in http://tracker.ceph.com/issues/4003.

Somehow, I missed this little item in Documentation/atomic_ops.txt: * WARNING: atomic_read() and atomic_set() DO NOT IMPLY BARRIERS! *

Signed-off-by: Alex Elder <>

History

#1 Updated by Alex Elder about 11 years ago

  • Status changed from In Progress to Fix Under Review

A fix for this has been posted for review.
[PATCH] rbd: add barriers near done flag operations

#2 Updated by Alex Elder about 11 years ago

  • Target version set to v0.58

#3 Updated by Alex Elder about 11 years ago

  • Status changed from Fix Under Review to Resolved

I just committed this to the ceph-client/testing branch:

commit 4ad2b189c1a52ce8ae1d6d2528c512021a2f1654
Author: Alex Elder <>
Date: Tue Feb 5 23:41:50 2013 -0600

rbd: add barriers near done flag operations

(I did not include a back-reference to this page.)

Also available in: Atom PDF