Message ID | 20230316152618.711970-18-dhowells@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BDE1C6FD1F for <linux-mm@archiver.kernel.org>; Thu, 16 Mar 2023 15:27:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 088C5900008; Thu, 16 Mar 2023 11:27:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 01557900007; Thu, 16 Mar 2023 11:27:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D3564900007; Thu, 16 Mar 2023 11:27:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id C470A900003 for <linux-mm@kvack.org>; Thu, 16 Mar 2023 11:27:15 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 88887C0A51 for <linux-mm@kvack.org>; Thu, 16 Mar 2023 15:27:15 +0000 (UTC) X-FDA: 80575140030.17.7A6C0C7 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf14.hostedemail.com (Postfix) with ESMTP id 0140E100012 for <linux-mm@kvack.org>; Thu, 16 Mar 2023 15:27:11 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=OebEA5mr; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf14.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1678980433; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=BwLwJU8AwjD+1uYy2mnm7V08kEOLBE2Z8d7v3yKcDiA=; b=dgRAyfZs+LppNaA+BUGGaX5arzSeVC93Gesd2r2IrYfbW4SjPibZng5GUj45bTUSrhm8sR RQ7ZH455rTxIZWsCGheKsuwvQ0gIqrFe4Jih4z5VKAdrnum1NZBKXiPCW+jiyl4FxlzuXZ XkgeomseUXNSdCNE1tKZVaZNeCYktM4= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=OebEA5mr; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf14.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1678980433; a=rsa-sha256; cv=none; b=tS/5UQrFMFef7ua3GvPNCJgUHWTHTW4bB42TEJinBMB+gfmZmmtpLjHuC1zFmb+VKPvrZ8 /HmPBGI99or1IAxl4iqVrQ0A1XieGrhSFyTOq/cay+Mrcqek/cGJ/9cwJI6ekogT7nj+Je MTpasDZiAqh6fXwItzhFYZ289E/Juyo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678980431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BwLwJU8AwjD+1uYy2mnm7V08kEOLBE2Z8d7v3yKcDiA=; b=OebEA5mr7UE+rAclMBk+x/YTRN8d9f4zlUintOG3/yQOW9MmkayMqwC0/mzMs+pgTmB8UC kmzoLXTw6ZYDMikWQoYygovps+ixJCa49MXfjzzQaPenC4tDB5S9M1rTC6hZrw8oV4bmhS 4572gBgYWJliJEKT1MKQteATyHO8/qs= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-16-J4DCKPwsOV6EioNFlaizgw-1; Thu, 16 Mar 2023 11:27:08 -0400 X-MC-Unique: J4DCKPwsOV6EioNFlaizgw-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6A67038149BC; Thu, 16 Mar 2023 15:27:07 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id A0039492B00; Thu, 16 Mar 2023 15:27:05 +0000 (UTC) From: David Howells <dhowells@redhat.com> To: Matthew Wilcox <willy@infradead.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: David Howells <dhowells@redhat.com>, Al Viro <viro@zeniv.linux.org.uk>, Christoph Hellwig <hch@infradead.org>, Jens Axboe <axboe@kernel.dk>, Jeff Layton <jlayton@kernel.org>, Christian Brauner <brauner@kernel.org>, Linus Torvalds <torvalds@linux-foundation.org>, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [RFC PATCH 17/28] Remove file->f_op->sendpage Date: Thu, 16 Mar 2023 15:26:07 +0000 Message-Id: <20230316152618.711970-18-dhowells@redhat.com> In-Reply-To: <20230316152618.711970-1-dhowells@redhat.com> References: <20230316152618.711970-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X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7BZVg07jrXPWWD6+EzxIo+IM9Jml683fmZXnQvyMncxn/StqQyOVlHsITq XXj/npQD mFDJsY2y6IYcFHT0gIsyv6/JPhSZe/ckkui+v6q1ImVGptXNUZhVxY7BuD9Sk10cfb7sobdOTS0NAXpNi+V+7qK+hTElWCs/DvMB94vEar5zS/JW9j2LCq/Kv2gHuQ/Qk4Q42ToZ/dIgb+SspFe9CtG36LvohBVhxh1hHV8+4I1L9bcoIIs+yXNcpIhnI0Z4DZ+AQ3tces9S0u83QuOH8ECZzV9bHLB3/Awa1K0XiyYA7RqtxDPNYKvTzchSkT7pG4BZjH2hCkWIDrjEH8ePU+o2zQibPH8GI8G9Aoy/n1oSQCSS7+KbMFpt8SIJsL5CyiJE6Q35ajICljs9D/NIDb7oaHtwPTfePeslZm//wU0KIQWe+inu2rxXTXykVwRWc5ZXAfyqpd+lAO4muR95rahZX/eB4LbcrJcgMsKlnZuV0sQ62ZQ+LJ/MThTzlIraskWWc X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
splice, net: Replace sendpage with sendmsg(MSG_SPLICE_PAGES)
|
expand
|
diff --git a/include/linux/fs.h b/include/linux/fs.h index f3ccc243851e..a9f1b2543d2c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1773,7 +1773,6 @@ struct file_operations { int (*fsync) (struct file *, loff_t, loff_t, int datasync); int (*fasync) (int, struct file *, int); int (*lock) (struct file *, int, struct file_lock *); - ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int); unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); int (*check_flags)(int); int (*flock) (struct file *, int, struct file_lock *);
Remove file->f_op->sendpage as splicing to a socket now calls sendmsg rather than sendpage. Signed-off-by: David Howells <dhowells@redhat.com> cc: "David S. Miller" <davem@davemloft.net> cc: Eric Dumazet <edumazet@google.com> cc: Jakub Kicinski <kuba@kernel.org> cc: Paolo Abeni <pabeni@redhat.com> cc: Jens Axboe <axboe@kernel.dk> cc: Matthew Wilcox <willy@infradead.org> cc: netdev@vger.kernel.org --- include/linux/fs.h | 1 - 1 file changed, 1 deletion(-)