I haven't read too deeply yet, but something that would help me understand the overall plan here would be an explanation of how one would use the restore_target function. Why would I want to disconnect from a target but keep the kernel's SCSI device hanging around? - R.