Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 08:58:50 -0800
From:      Chuck Tuffli <chuck@tuffli.net>
To:        Ed Schouten <ed@80386.nl>
Cc:        scsi@freebsd.org
Subject:   Re: Use cdevpriv in targ(4)
Message-ID:  <CAM0tzX1nEcTANFN69PCt-p=K5r7Fyu_Lv=KThaaEj40p6TKB6Q@mail.gmail.com>
In-Reply-To: <20111206195702.GF59489@hoeg.nl>
References:  <20111206195702.GF59489@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 6, 2011 at 11:57 AM, Ed Schouten <ed@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0tzX1nEcTANFN69PCt-p=K5r7Fyu_Lv=KThaaEj40p6TKB6Q>