Re: [PATCH] Convert scsi_scan to use generic async mechanism

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

 



On Sat, 23 May 2009 11:21:43 -0500
> The reason scsi_add_device() is failing seems to be that
> async_synchronize_full_domain() is a bit fragile in that it only
> expects to be called once.  Call it again, like we do, to make sure
> there aren't any outstanding scans and it hangs on the wait event.

it's supposed to be ok to call as many times as you want.
What is NOT allowed is calling it from async work itself, due to the
obvious deadlock.
--
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