Turn off pipe's direct I/O again, it corrupts the data (although build and
various activity survived while testing this). Corruptions also happen on sparc64 where emap is not in effect, therefore bugs are in direct I/O code.
This commit is contained in:
parent
a657e1c872
commit
e24f6c0896
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sys_pipe.c,v 1.118 2009/08/29 00:06:43 rmind Exp $ */
|
||||
/* $NetBSD: sys_pipe.c,v 1.119 2009/08/31 20:48:14 rmind Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003, 2007, 2008, 2009 The NetBSD Foundation, Inc.
|
||||
@ -68,7 +68,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.118 2009/08/29 00:06:43 rmind Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.119 2009/08/31 20:48:14 rmind Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -99,6 +99,9 @@ __KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.118 2009/08/29 00:06:43 rmind Exp $")
|
||||
* #define PIPE_NODIRECT
|
||||
*/
|
||||
|
||||
/* XXX Disabled for now; rare hangs switching between direct/buffered */
|
||||
#define PIPE_NODIRECT
|
||||
|
||||
static int pipe_read(file_t *, off_t *, struct uio *, kauth_cred_t, int);
|
||||
static int pipe_write(file_t *, off_t *, struct uio *, kauth_cred_t, int);
|
||||
static int pipe_close(file_t *);
|
||||
|
Loading…
Reference in New Issue
Block a user