diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-11-22 21:24:54 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-11-22 23:42:42 +0100 |
commit | 1aa8fab2acf1cb8b341131b726773fcff0abc707 (patch) | |
tree | 27590ddf03adce3b6244d60d4a818d9bdbbe85b0 /drivers/scsi/iscsi_tcp.c | |
parent | [SCSI] fix missing check for no scanning (diff) | |
download | linux-1aa8fab2acf1cb8b341131b726773fcff0abc707.tar.xz linux-1aa8fab2acf1cb8b341131b726773fcff0abc707.zip |
[SCSI] Make scsi_scan_host work for drivers which find their own targets
If a driver can find its own targets, it can now fill in scan_finished and
(optionally) scan_start in the scsi_host_template. Then, when it calls
scsi_scan_host(), it will be called back (from a thread if asynchronous
discovery is enabled), first to start the scan, and then at intervals to
check if the scan is completed.
Also make scsi_prep_async_scan and scsi_finish_async_scan static.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
0 files changed, 0 insertions, 0 deletions