[patch] Re: kern/94278: Crash with FIFOs and ktrace

Kostik Belousov kostikbel at gmail.com
Tue Mar 14 13:41:53 UTC 2006

On Tue, Mar 14, 2006 at 09:17:49PM +0800, David Xu wrote:
> I know, someone will work out such a messy patch, but is it reasonable ?
> why does not the fifi code suddenly work with well defined vnode interface ?
> why did someone want to break the well defined FILE->vnode->fs->device
> layers ? sigh.

From CVS history for sys/fs/fifofs//fifo_vnops.c:

Revision 1.105 Wed Nov 17 07:30:02 2004 UTC (15 months, 3 weeks ago) by phk

 Make vnode bypass for fifos (read, write, poll) mandatory.

Revision 1.104 Mon Nov 15 14:51:44 2004 UTC (15 months, 3 weeks ago) by phk

 Add file ops to fifofs so that we can bypass vnodes (and Giant) for the
 heavy-duty operations (read, write, poll/select, kqueue).

 Disabled for now, enable with "vfs.fifofs.fops=1" in loader.conf.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060314/2ee2cfd0/attachment.pgp

More information about the freebsd-stable mailing list