Date: Sun, 04 Apr 2010 09:30:44 -0700 From: Matthew Jacob <mj@feral.com> To: freebsd-scsi@freebsd.org Subject: cam_periph_find Message-ID: <4BB8BEB4.70606@feral.com>
next in thread | raw e-mail | index | archive | help
There is currently nothing that keeps a periph from disappearing between the time you find it with cam_periph_find and the try to 'acquire' it later (if you indeed do so). What do people feel about changing the semantic of cam_periph_find to up the refcount (requiring the caller to release or release_locked)?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BB8BEB4.70606>