Bug 154435 - kernel dm-emc: Fix spinlock reset
kernel dm-emc: Fix spinlock reset
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
4.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Alasdair Kergon
:
Depends On:
Blocks: 156322
  Show dependency treegraph
 
Reported: 2005-04-11 13:47 EDT by Alasdair Kergon
Modified: 2007-11-30 17:07 EST (History)
6 users (show)

See Also:
Fixed In Version: RHSA-2005-514
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-05 08:58:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
spinlock fix (1.08 KB, patch)
2005-04-11 13:47 EDT, Alasdair Kergon
no flags Details | Diff

  None (edit)
Description Alasdair Kergon 2005-04-11 13:47:00 EDT
Here's a trivial fix to the emc hardware
handler module. The old code memset the hardware handler
structure to zero AFTER it had initialized the structure's
spinlock field to SPIN_LOCK_UNLOCKED.  The new patch moves the
memset into the hardware handler allocator.
                                                                               
                                                     
The old code would probably only have a problem if someone
ran with spinlock debugging enabled, in which case SPIN_LOCK_UNLOCKED
contains the value SPINLOCK_MAGIC.
                                                                               
                                                     
[Dave Olien, OSDL]
Comment 1 Alasdair Kergon 2005-04-11 13:47:01 EDT
Created attachment 112966 [details]
spinlock fix
Comment 2 Lars Marowsky-Bree 2005-04-20 15:54:57 EDT
Confirmed locally and applied.
Comment 3 Alasdair Kergon 2005-04-21 13:51:13 EDT
Added to 2.6.12-rc2-udm1
Comment 8 Red Hat Bugzilla 2005-10-05 08:58:14 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-514.html

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