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

NAME

6       scsi_target_reap_ref_release - remove target from visibility
7

SYNOPSIS

9       void scsi_target_reap_ref_release(struct kref * kref);
10

ARGUMENTS

12       kref
13           the reap_ref in the target being released
14

DESCRIPTION

16       Called on last put of reap_ref, which is the indication that no device
17       under this target is visible anymore, so render the target invisible in
18       sysfs. Note: we have to be in user context here because the target
19       reaps should be done in places where the scsi device visibility is
20       being removed.
21

AUTHORS

23       James Bottomley <James.Bottomley@hansenpartnership.com>
24           Author.
25
26       Rob Landley <rob@landley.net>
27           Author.
28
30Kernel Hackers Manual 3.10         June 2019           SCSI_TARGET_REAP_REF(9)
Impressum