From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750908AbdALW6v (ORCPT ); Thu, 12 Jan 2017 17:58:51 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:56688 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbdALW6u (ORCPT ); Thu, 12 Jan 2017 17:58:50 -0500 Date: Thu, 12 Jan 2017 22:58:46 +0000 From: Al Viro To: "Alan J. Wylie" Cc: Linus Torvalds , Thorsten Leemhuis , linux-kernel Subject: Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn Message-ID: <20170112225846.GC1555@ZenIV.linux.org.uk> References: <22647.59020.331664.632444@wylie.me.uk> <22648.1838.747474.51727@wylie.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22648.1838.747474.51727@wylie.me.uk> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 12, 2017 at 10:46:06PM +0000, Alan J. Wylie wrote: > at 14:26 on Thu 12-Jan-2017 Linus Torvalds (torvalds@linux-foundation.org) wrote: > 13761 copy_file_range(5, NULL, 1, NULL, 9223372036854775807, 0) = -1 EXDEV (Invalid cross-device link) > 13761 sendfile(1, 5, NULL, 9223372036854775807) = -1 EINVAL (Invalid argument) > 13761 splice(5, NULL, 1, NULL, 9223372036854775807, 0) = -1 EAGAIN (Resource temporarily unavailable) *bleep* splice from /dev/ptmx to stdout, whatever the latter had been. IOW, we are dealing with do_splice() -> do_splice_to() -> default_file_splice_read() for pseudo-tty as source...