Re: [PATCH 1/3] SCSI: Make cmd_serial_number an atomic

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

 



On 04/02/2011 09:36 AM, Christoph Hellwig wrote:
On Fri, Apr 01, 2011 at 04:20:51PM -0400, Matthew Wilcox wrote:

In preparation for moving some drivers out from under the host_lock,
make cmd_serial_number an atomic.

The right fix is to stop abusing cmd_serial_nubmer in those few
drivers, and use a driver-private and more scalable lookup data
structure than a linear list search.

Agreed.


--
To unsubscribe from this list: 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