From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDD5479FE for ; Tue, 4 Jun 2024 04:50:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717476636; cv=none; b=pDge+IoxjAvQPwvK3KNxCkmj3hOOA+7Q0y7a6b9+gteuBRIgIdjhowGkRltzpBXGB4rEmRUFYFFPBOtySVTMjW8OFglsp4jK2oOfsX7qtJO3fiIelMlkKByaT8jSTPMNnUTXjzyJ8WmPH8sY6g/YTYuV2lR4KXSbgLykeJLml00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717476636; c=relaxed/simple; bh=JXAVo7JPxoRmBdKOx1Ae8EBGrOZ45EPRVBDGB91vwlE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CUc+Mfd7N7oZnkro49rxZov7cl2dWUDDVUQ1hWXk1FL+Fb/x4Nmwr3/8ZhpFyqcdjxgSODUVqbpQGYgWMuvdXaj8wlLHiseuNY5Dkgq3apHYBlzk7XYValx28y/nFRfbTMgaxDLlOKiOjztqfsabz7SkDzrs9S/ZhcfMj7pJlIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id E7F9B68D12; Tue, 4 Jun 2024 06:50:30 +0200 (CEST) Date: Tue, 4 Jun 2024 06:50:30 +0200 From: Christoph Hellwig To: Terry Tritton Cc: hch@lst.de, "ttritton@google.com" , edliaw@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org Subject: Re: Change in splice() behaviour after 5.10? Message-ID: <20240604045030.GA29276@lst.de> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Jun 03, 2024 at 10:59:15AM +0100, Terry Tritton wrote: > Hi, > We've found a change in behaviour while testing the splice07 LTP test. > In versions before 5.10 the test will hang on certain combinations but after > 5.10 the splice call will return. > I bisected the change to the following commit: > 36e2c7421f02a22f71c9283e55fdb672a9eb58e7 > fs: don't allow splice read/write without explicit ops > > There has been some discussion on the LTP github page already: > https://github.com/linux-test-project/ltp/issues/1156 In that case the return probably is an error because epoll doesn't support read_iter/write_iter and thus completely expected. If the underlying bug hasn't been fix in the mean time that probably means it will be back if Jens' conversion of all misc file operations to the iter based ones every gets merged. If you are interested more in this please discuss it on the relevant mailing lists instead of in private mail.