From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f68.google.com ([209.85.218.68]:35795 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034487AbcIWUgN (ORCPT ); Fri, 23 Sep 2016 16:36:13 -0400 MIME-Version: 1.0 In-Reply-To: <20160923201025.GJ2356@ZenIV.linux.org.uk> References: <20160909221945.GQ2356@ZenIV.linux.org.uk> <20160914031648.GB2356@ZenIV.linux.org.uk> <20160914042559.GC2356@ZenIV.linux.org.uk> <20160917082007.GA6489@ZenIV.linux.org.uk> <20160917190023.GA8039@ZenIV.linux.org.uk> <20160923190032.GA25771@ZenIV.linux.org.uk> <20160923190326.GB2356@ZenIV.linux.org.uk> <20160923201025.GJ2356@ZenIV.linux.org.uk> From: Linus Torvalds Date: Fri, 23 Sep 2016 13:36:12 -0700 Message-ID: Subject: Re: [PATCH 04/11] splice: lift pipe_lock out of splice_to_pipe() To: Al Viro Cc: 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 Fri, Sep 23, 2016 at 1:10 PM, Al Viro wrote: > > OTOH, considering the quality of documentation, I'm somewhat tempted to go > for "sleep only if it had been completely full when we entered; once there's > some space feed as much as fits and be done with that". OTTH, I'm not sure > that no userland cr^Hode will manage to be hurt by that variant... Let's just try it. If that then doesn't work, we can introduce your odd code (with a *big* comment). Ok? Linus