---
name: "scsi_prep_async_scan"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/scsi_prep_async_scan"
---

# scsi\_prep\_async\_scan(9)

prepare for an async scan

## NAME

scsi\_prep\_async\_scan - prepare for an async scan

## SYNOPSIS

**struct async\_scan\_data \* scsi\_prep\_async\_scan(struct Scsi\_Host \*** *shost***);**

## ARGUMENTS

*shost*

the host which will be scanned

## RETURN

a cookie to be passed to **scsi\_finish\_async\_scan**

Tells the midlayer this host is going to do an asynchronous scan. It reserves the host's position in the scanning list and ensures that other asynchronous scans started after this one won't affect the ordering of the discovered devices.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
