From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC9DEC55179 for ; Thu, 29 Oct 2020 10:12:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B932206BE for ; Thu, 29 Oct 2020 10:12:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="VdcRykTj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726263AbgJ2KMk (ORCPT ); Thu, 29 Oct 2020 06:12:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgJ2KMk (ORCPT ); Thu, 29 Oct 2020 06:12:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5E3BC0613D2; Thu, 29 Oct 2020 03:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=HZ8TaPb14jta9j4bcrtWFgktOhAKRClMadxsO4T8de8=; b=VdcRykTjOvo/GkkbH7WQ1gIp1T o0EPr73DnEcGkk13CfXBYBzZ7thU2nKryhAFanT33rN28lziv+mC1Iq3iqQd6tDwFaj5KGJYeREWJ 6hPgeV455iTnquqqS5YRe9J0qOuNK9xZMZBEoEKGQYi82jvLR2Cr1kRRBGl5VmXVdsQv/ud//tbwq 9UAkhv0ie0oFKRDbx4DsjlwtIK9cXevNxrsOoAL8HilkZyPef5FQGNv4dhVgoG7fdEoSfyeyHPUu3 zW6RbXF7u66Ica23RXUqx8cmAFMO+aESYKGvgXD5G0GnQMCCYVXRXIv/LOI+nR1cWgM/BFgmqOBfY pu6NgVHA==; Received: from 089144193201.atnat0002.highway.a1.net ([89.144.193.201] helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY4uY-0003gB-Ho; Thu, 29 Oct 2020 10:12:03 +0000 From: Christoph Hellwig To: Al Viro Cc: Greg KH , Linus Torvalds , Alexey Dobriyan , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: support splice reads on seq_file based procfs files Date: Thu, 29 Oct 2020 11:09:47 +0100 Message-Id: <20201029100950.46668-1-hch@lst.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Al, Greg reported a problem due to the fact that Android tests use procfs files to test splice, which stopped working with 5.10-rc1. This series adds read_iter support for seq_file, and uses those for all proc files using seq_file to restore splice read support.