Query: scsi_target_reap
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_TARGET_REAP(9) SCSI mid layer SCSI_TARGET_REAP(9)NAMEscsi_target_reap - check to see if target is in use and destroy if notSYNOPSISvoid scsi_target_reap(struct scsi_target * starget);ARGUMENTSstarget target to be checkedDESCRIPTIONThis is used after removing a LUN or doing a last put of the target it checks atomically that nothing is using the target and removes it if so.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SCSI_TARGET_REAP(9)