]> git.baikalelectronics.ru Git - kernel.git/commit
libata: only ports >= 0 need to synchronize
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 10 Jan 2009 18:18:44 +0000 (10:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 10 Jan 2009 23:06:52 +0000 (15:06 -0800)
commitc2c3aaa7d032fadbcb67fb1668f880127cffcdda
tree043212be5120dd4e422b0a04fd33900258b8108d
parentd901834fae5f91098b43f7e15f77d882fd549bcd
libata: only ports >= 0 need to synchronize

In a discussio with Jeff Garzik, he mentioned that the serialization
for the libata port probes only needs to be within the domain of a host.
This means that for the first port of each host (with ID 0), we don't
need to wait, so we can relax our serialization a little.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/libata-core.c