patches for CAM SCSI probing, etc.

Alexander Motin mav at FreeBSD.org
Wed May 26 18:44:59 UTC 2010


Matthew Jacob wrote:
> Okay, I see your point.
> 
> I would assert that for SCSI there should only be one probe active at
> any time for any given nexus *or* I should adopt your approach and
> restart the state machine if additional commands show up.
> 
> It's also true that scans ought to be limited from user space. There's
> nothing to stop one from running 1000 camcontrol rescans from user
> space, and that effectively hangs the system as it's spending all of its
> time running stuff for them, so I might put a bit of serialization in here.
> 
> Thoughts?

I think `camcontrol reset ...` may ban channel much easier, respecting 5
seconds of SCSI_DELAY after reset. And as soon as both of them require
superuser privileges - IMHO it is a kind of foot shooting.

-- 
Alexander Motin


More information about the freebsd-scsi mailing list