SCSI_SEQUENTIAL_LUN_(9) | SCSI mid layer | SCSI_SEQUENTIAL_LUN_(9) |
NAME¶
scsi_sequential_lun_scan - sequentially scan a SCSI target
SYNOPSIS¶
void scsi_sequential_lun_scan(struct scsi_target * starget, int bflags, int scsi_level, enum scsi_scan_mode rescan);
ARGUMENTS¶
struct scsi_target * starget
int bflags
int scsi_level
enum scsi_scan_mode rescan
DESCRIPTION¶
Generally, scan from LUN 1 (LUN 0 is assumed to already have been scanned) to some maximum lun until a LUN is found with no device attached. Use the bflags to figure out any oddities.
Modifies sdevscan->lun.
AUTHORS¶
James Bottomley <James.Bottomley@hansenpartnership.com>
Rob Landley <rob@landley.net>
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |