From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751547AbdAMLZf (ORCPT ); Fri, 13 Jan 2017 06:25:35 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:42214 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751431AbdAMLZb (ORCPT ); Fri, 13 Jan 2017 06:25:31 -0500 Date: Fri, 13 Jan 2017 11:25:29 +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: <20170113112528.GM1555@ZenIV.linux.org.uk> References: <22647.59020.331664.632444@wylie.me.uk> <22648.1838.747474.51727@wylie.me.uk> <22648.32903.752857.203733@wylie.me.uk> <20170113093359.GJ1555@ZenIV.linux.org.uk> <22648.41914.351371.678606@wylie.me.uk> <20170113102019.GK1555@ZenIV.linux.org.uk> <22648.44239.218544.707210@wylie.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22648.44239.218544.707210@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 Fri, Jan 13, 2017 at 10:32:47AM +0000, Alan J. Wylie wrote: > # dmesg | tail > ... > [ 141.553455] nr: 0->16, cur: 5->5, buffers: 16->16 > [ 141.553461] copied: 0, count:2147479552, idx:5, offs:0 OK, that looks like pipe_advance() fencepost (hopefully) dealt with in the lib/iov_iter.c patch I've just posted. I'm going down right now, but if you have a box you are not too fond of, it would be nice if you tried that one. Warning: the patch had been written in a barely awake state, and is completely untested. Treat accordingly...