Project

General

Profile

Actions

Bug #3997

closed

xfs: insert memory barriers before wake_up_bit()

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
xfs
Target version:
-
% Done:

0%

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

Description

I looked at this briefly last week and found what could explain
a hang on an osd node due to a bug in XFS. I ran it by Dave
Chinner, who indicated it was plausible, so after some review
of some stuff about memory barriers and the code involving
waiting on bit locks, I concluded this hunch was probably
at the very least a good thing to fix, and may likely explain
the problem.

I have no way to reproduce this, however, so I'm just going to
post the fix, and see what others in XFS land think.

Oh, and it's possible there's another tracker issue open
for this but I couldn't find it...

Actions

Also available in: Atom PDF