Re: [RFC][PATCH] allow sleep inside EH hooks

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

 



On Fri, 2005-05-27 at 00:32 -0400, Jeff Garzik wrote:
> SCSI EH processing already serializes things during EH, so this spinlock 
> isn't really needed.
> 
> Removing the spinlock outright would break drivers that surround logic 
> with spin_unlock_irq()..spin_lock_irq(), so I introduced ->unlocked_eh 
> option.

it's not THAT many drivers that do that, and relatively easy to grep
for... so why not just remove those unlock ... lock pairs instead?


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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