Project

General

Profile

Bug #4010

krbd: turn off interrupts for open/remove locking

Added by Alex Elder about 7 years ago. Updated about 7 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:

Description

This fix is done. The problem was discovered while
investigating http://tracker.ceph.com/issues/4003.

This commit:
bc7a62ee5 rbd: prevent open for image being removed
added checking for removing rbd before allowing an open, and used
the same request spinlock for protecting that and updating the open
count as is used for the request queue.

However it used the non-irq protected version of the spinlocks.
Fix that.

Signed-off-by: Alex Elder <>

History

#1 Updated by Alex Elder about 7 years ago

  • Status changed from In Progress to Fix Under Review

Posted for review.
[PATCH] rbd: turn off interrupts for open/remove locking

#2 Updated by Alex Elder about 7 years ago

  • Target version set to v0.58

#3 Updated by Alex Elder about 7 years ago

  • Status changed from Fix Under Review to Resolved

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

commit 4cfc31e59fc6521ee0950782a028eccb3f5c9096
Author: Alex Elder <>
Date: Tue Feb 5 13:23:12 2013 -0600

rbd: turn off interrupts for open/remove locking

(Sorry, I didn't include a back-reference to this page.)

Also available in: Atom PDF