Skip to content

Commit

Permalink
OS-6313 backout fix for OS-6275, needs more work
Browse files Browse the repository at this point in the history
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
  • Loading branch information
jjelinek committed Aug 25, 2017
1 parent 1349a3a commit 4973a49
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions usr/src/uts/common/brand/lx/syscall/lx_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,6 @@ lx_hd_pipe(intptr_t arg, int flags)
VERIFY((str = vp1->v_stream) != NULL);
(void) lx_pipe_setsz(str, LX_DEFAULT_PIPE_SIZE, B_TRUE);

/*
* Because we're using streams to increase the capacity of the pipe
* up to the default Linux capacity, we have to switch the pipe
* out of FIFOFAST mode and back to a normal stream. In fast mode
* the pipe capacity is limited to "Fifohiwat" which is a compile-time
* limit set to FIFOHIWAT.
*/
mutex_enter(&VTOF(vp1)->fn_lock->flk_lock);
fifo_fastoff(VTOF(vp1));
mutex_exit(&VTOF(vp1)->fn_lock->flk_lock);

/*
* Set the O_NONBLOCK flag if requested.
*/
Expand Down

0 comments on commit 4973a49

Please sign in to comment.