[Bug 199435] HPSA + P420i resetting logical Direct-Access never complete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=199435

--- Comment #32 from Don (don.brace@xxxxxxxxxxxxx) ---
Created attachment 282479
  --> https://bugzilla.kernel.org/attachment.cgi?id=282479&action=edit
Patch to correct resets

    hpsa: correct device resets

    - Correct a race condition that occurs between the
      reset handler and the completion handler. There
      are times when the wait_event condition is never
      met due to this race condition and the reset never
      completes.

      The reset_pending field is NULL initially.

      t  Reset Handler Thread     Completion Thread
      -- --------------------     -----------------
      t1                          if (c->reset_pending)
      t2 c->reset_pending = dev;     if (atomic_dev_and_test(counter))
      t3 atomic_inc(counter)             wait_up_all(event_sync_wait_queue)
      t4
      t5 wait_event(...counter == 0)

    Kernel.org Bugzilla:
               https://bugzilla.kernel.org/show_bug.cgi?id=1994350
               Bug 199435 - HPSA + P420i resetting logical Direct-Access
                            never complete


Here is the patch I am preparing to send up to kernel.org. I have been testing
this patch for some time now and I feel it is ready.

-- 
You are receiving this mail because:
You are the assignee for the bug.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux