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

NAME

6       scsi_target_reap - check to see if target is in use and destroy if not
7

SYNOPSIS

9       void scsi_target_reap(struct scsi_target * starget);
10

ARGUMENTS

12       starget
13           target to be checked
14

DESCRIPTION

16       This is used after removing a LUN or doing a last put of the target it
17       checks atomically that nothing is using the target and removes it if
18       so.
19

AUTHORS

21       James Bottomley <James.Bottomley@hansenpartnership.com>
22           Author.
23
24       Rob Landley <rob@landley.net>
25           Author.
26
28Kernel Hackers Manual 2.6.         June 2019               SCSI_TARGET_REAP(9)
Impressum