1SCSI_SEQUENTIAL_LUN_(9)         SCSI mid layer         SCSI_SEQUENTIAL_LUN_(9)
2
3
4

NAME

6       scsi_sequential_lun_scan - sequentially scan a SCSI target
7

SYNOPSIS

9       void scsi_sequential_lun_scan(struct scsi_target * starget, int bflags,
10                                     int scsi_level, int rescan);
11

ARGUMENTS

13       starget
14           pointer to target structure to scan
15
16       bflags
17           black/white list flag for LUN 0
18
19       scsi_level
20           Which version of the standard does this device adhere to
21
22       rescan
23           passed to scsi_probe_add_lun
24

DESCRIPTION

26       Generally, scan from LUN 1 (LUN 0 is assumed to already have been
27       scanned) to some maximum lun until a LUN is found with no device
28       attached. Use the bflags to figure out any oddities.
29
30       Modifies sdevscan->lun.
31

AUTHORS

33       James Bottomley <James.Bottomley@hansenpartnership.com>
34           Author.
35
36       Rob Landley <rob@landley.net>
37           Author.
38
40Kernel Hackers Manual 2.6.         June 2019           SCSI_SEQUENTIAL_LUN_(9)
Impressum