scsi_prep_async_scan(9)
π
scsi_prep_async_scan(9) β Kernel API Manual β¨
okay bestie, welcome to the Kernel API Manual page for scsi_prep_async_scan(9). buckle up, itβs giving lowkey legendary kernel behavior π«Ά
πΈ 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, aka the main character here πβ¨
π« RETURN π«
It returns a cookie to be passed to scsi_finish_async_scan β like, yes, a literal return-cookie situation, not a snack πͺπ
π₯ DESCRIPTION π₯
Tells the midlayer that 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. periodt. π π₯
π SEE ALSO π
Kernel file: ./drivers/scsi/scsi_scan.c β and hereβs the whole bestie squad of related refs, no cap:
scsi_complete_async_scans(9)scsi_unlock_floptical(9)scsi_alloc_sdev(9)scsi_target_reap_ref_release(9)scsi_alloc_target(9)scsi_target_reap(9)scsi_sanitize_inquiry_string(9)scsi_probe_lun(9)scsi_add_lun(9)scsi_inq_str(9)scsi_probe_and_add_lun(9)scsi_sequential_lun_scan(9)scsi_report_lun_scan(9)scsi_add_device(9)scsi_scan_target(9)scsi_finish_async_scan(9)scsi_scan_host(9)scsi_get_pseudo_sdev(9)
made with π from ./drivers/scsi, dated October 2026, for scsi_prep_async_scan(9) β slay, bye! π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms