ocfs2: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage()
authorDavid Howells <dhowells@redhat.com>
Fri, 23 Jun 2023 22:55:11 +0000 (23:55 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 24 Jun 2023 22:50:13 +0000 (15:50 -0700)
commite52828cc0109f511bba1dfb41292833c2fd3b6e6
tree03e348bed4bd5c8456e64186f880f5024d1704ce
parent86d7bd6e66e9925f0f04a7bcf3c92c05fdfefb5a
ocfs2: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage()

Switch ocfs2 from using sendpage() to using sendmsg() + MSG_SPLICE_PAGES so
that sendpage can be phased out.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Mark Fasheh <mark@fasheh.com>
cc: Joel Becker <jlbec@evilplan.org>
cc: Joseph Qi <joseph.qi@linux.alibaba.com>
cc: ocfs2-devel@oss.oracle.com
Link: https://lore.kernel.org/r/20230623225513.2732256-15-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
fs/ocfs2/cluster/tcp.c