--- src/sys/kern/sys_pipe.c 2006/12/28 21:24:01 1.44 +++ src/sys/kern/sys_pipe.c 2008/05/04 08:42:03 1.45 @@ -157,7 +157,11 @@ static int pipe_maxcache = PIPEQ_MAX_CAC static int pipe_nbig; static int pipe_bcache_alloc; static int pipe_bkmem_alloc; -static int pipe_dwrite_enable = 1; /* 0:copy, 1:kmem/sfbuf 2:force */ +/* + * There's a bug in the sfbuf-based direct write code, not yet located. + * Disable it for now. + */ +static int pipe_dwrite_enable = 0; /* 0:copy, 1:kmem/sfbuf 2:force */ static int pipe_dwrite_sfbuf = 1; /* 0:kmem_map 1:sfbufs 2:sfbufs_dmap */ /* 3:sfbuf_dmap w/ forced invlpg */