Date: Wed, 9 Apr 2008 22:29:18 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: Rick Hunnicutt <rk_hunnicutt@yahoo.com>, freebsd-arch@freebsd.org Subject: Re: fdclone KPI Message-ID: <20080409192918.GM21209@deviant.kiev.zoral.com.ua> In-Reply-To: <200804091125.46505.jhb@freebsd.org> References: <321309.94192.qm@web37604.mail.mud.yahoo.com> <20080409040144.GK21209@deviant.kiev.zoral.com.ua> <200804091125.46505.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Apr 09, 2008 at 11:25:46AM -0400, John Baldwin wrote: > On Wednesday 09 April 2008 12:01:44 am Kostik Belousov wrote: > > On Tue, Apr 08, 2008 at 04:09:30PM -0700, Rick Hunnicutt wrote: > > > I'm curious if someone can tell me why the fdclone KPI was not included in > the 7.0 release? > > > > Because it got no > > - review; > > - interest from the driver authors; > > - agreement that this is the way to go. > > Oof, where is the patch? I think it is definitely easier for people to use > than devfs cloning when all that is needed is per-instance data. I would use > it in the ipmi(4) driver and the nvidia graphics driver would likely prefer > it to devfs cloning as well. http://people.freebsd.org/~kib/misc/fdclone.10.patch http://people.freebsd.org/~kib/misc/fclone.c The patch was developed before the struct file becomes lockless. The link above contains the mechanically updated patch, that was given one smoke-test run. fclone.c is the trivial driver that utilizes the new KPI. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkf9GQ4ACgkQC3+MBN1Mb4h2qwCfeH2LW+5dlHxQWfFzSfdj/xxm 4dkAoNhN81b8UJtO+uTLCjY4ZDkl+Rwu =vUHo -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080409192918.GM21209>
