Use cdevpriv in targ(4)
Chuck Tuffli
chuck at tuffli.net
Mon Dec 12 17:24:21 UTC 2011
On Tue, Dec 6, 2011 at 11:57 AM, Ed Schouten <ed at 80386.nl> wrote:
> Hello all,
>
> I sent this patch to mjacob@ previously, but he redirected me to this
> list, so here it goes.
>
> The other day I spent some time grepping through character device/devfs
> code and I noticed we can make the targ(4) driver a lot more beautiful
> if we simply change the code to use a single device node (/dev/targ) and
> use per-file descriptor data, instead of hacking around with clonelists.
>
> As I have no idea how to actually test and use targ(4), so is there a
> way I can persuade any of you to test/debug this patch for me?
Ed -
The patch applied for me to 8-stable and is running without problem
using scsi_target(8) and the emulex target driver. Works for me.
---chuck
More information about the freebsd-scsi
mailing list