From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f194.google.com ([209.85.223.194]:33748 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757670AbcLUTM5 (ORCPT ); Wed, 21 Dec 2016 14:12:57 -0500 MIME-Version: 1.0 In-Reply-To: <87shphaz78.fsf@linux-m68k.org> References: <20160917190023.GA8039@ZenIV.linux.org.uk> <20160923190032.GA25771@ZenIV.linux.org.uk> <20160923190326.GB2356@ZenIV.linux.org.uk> <20160923201025.GJ2356@ZenIV.linux.org.uk> <20160924035951.GN2356@ZenIV.linux.org.uk> <87shpmxrey.fsf@linux-m68k.org> <20161218201207.GY1555@ZenIV.linux.org.uk> <20161218203003.GZ1555@ZenIV.linux.org.uk> <87shphaz78.fsf@linux-m68k.org> From: Linus Torvalds Date: Wed, 21 Dec 2016 11:12:55 -0800 Message-ID: Subject: Re: [PATCH 04/12] splice: lift pipe_lock out of splice_to_pipe() To: Andreas Schwab Cc: Al Viro , Dave Chinner , CAI Qian , linux-xfs , xfs@oss.sgi.com, Jens Axboe , Nick Piggin , linux-fsdevel Content-Type: text/plain; charset=UTF-8 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Dec 21, 2016 at 10:56 AM, Andreas Schwab wrote: > > FWIW, I have verified that the testsuite of pv succeeds with this patch: Ok, thanks, committed. Al, looking at this area, I think there's some room for cleanups. In particular, isn't the loop in opipe_prep() now just "wait_for_space()"? I'm also thinking that we could perhaps remove the SIGPIPE/EPIPE handling from splice_to_pipe().. Hmm? Linus