From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758789AbcINIhX (ORCPT ); Wed, 14 Sep 2016 04:37:23 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:36016 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760108AbcINIhU (ORCPT ); Wed, 14 Sep 2016 04:37:20 -0400 From: Miklos Szeredi To: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Al Viro Subject: [PATCH 00/11] splice cleanups Date: Wed, 14 Sep 2016 10:37:05 +0200 Message-Id: <1473842236-28655-1-git-send-email-mszeredi@redhat.com> X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This contains assorted cleanups in the splice area: - add helpers for pipe buf ops instead of directly calling them - page cache buf doesn't seem to need confirming (since ages) - generic_file_splice_read() and generic_file_read() have lots of duplication Git tree is here: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git#splice Thanks, Miklos --- Miklos Szeredi (11): pipe: add pipe_buf_get() helper pipe: add pipe_buf_release() helper pipe: add pipe_buf_confirm() helper pipe: add pipe_buf_steal() helper pipe: fix comment in pipe_buf_operations pipe: no need to confirm page cache buf pipe: remove generic_pipe_buf_confirm() filemap: add get_page_for_read() helper splice: use get_page_for_read() splice: don't check i_size in generic_file_splice_read() splice: fold __generic_file_splice_read() into caller drivers/char/virtio_console.c | 2 +- fs/fuse/dev.c | 15 +- fs/pipe.c | 31 +--- fs/splice.c | 301 ++++++------------------------------- include/linux/pagemap.h | 3 + include/linux/pipe_fs_i.h | 73 ++++++--- kernel/relay.c | 1 - kernel/trace/trace.c | 2 - mm/filemap.c | 339 ++++++++++++++++++++++-------------------- 9 files changed, 281 insertions(+), 486 deletions(-) -- 2.5.5