Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 1998 23:38:57 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Greg Lehey <grog@lemis.com>
Cc:        Mike Smith <mike@smith.net.au>, Julian Elischer <julian@whistle.com>, "Matthew N. Dodd" <winter@jurai.net>, Chris Csanady <ccsanady@friley585.res.iastate.edu>, current@FreeBSD.ORG
Subject:   Re: New SoftUpdates test kit 
Message-ID:  <199802220738.XAA06227@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 22 Feb 1998 17:57:10 %2B1030." <19980222175710.04357@freebie.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Could you chain these headers off the private fields at the end of the
> > buf structure, or is the feature set there too small?
> 
> Hmmm.  Sometimes it pays to RTFM.  No, wait, there is no FM.  OK, RTFS
> then.

8/

> > (NB. the wfd driver already uses one of these, it not being terribly
> > clear to me at the time who they were really for use by.)
> 
> Well, they're used in scsi_ioctl.c and wfd.c, and that's the only
> place I've been able to find them.  But it's a good idea, and it might
> be the way to save the ccd driver if that's what's eating it.

The reason I asked is that if you depend on the extra state that you use
being preserved despite you passing the bufs out to other drivers, it 
might pay to impose some sort of policy on which of the fields are 
available for what usage.

Of course, if vinum is at the top of the food chain and only uses the
private data internally, then you win.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802220738.XAA06227>