Re: [PATCH v6 4/7] fs/fuse: support compiling out splice

2014-12-07 Thread Pieter Smith
On Fri, Dec 05, 2014 at 11:44:36AM +0100, Miklos Szeredi wrote: > On Thu, Dec 4, 2014 at 6:50 PM, Pieter Smith wrote: > > To implement splice support, fs/fuse makes use of nosteal_pipe_buf_ops. This > > struct is exported by fs/splice. The goal of the larger patch set is to > &g

Re: [PATCH v6 4/7] fs/fuse: support compiling out splice

2014-12-07 Thread Pieter Smith
On Fri, Dec 05, 2014 at 11:44:36AM +0100, Miklos Szeredi wrote: On Thu, Dec 4, 2014 at 6:50 PM, Pieter Smith pie...@boesman.nl wrote: To implement splice support, fs/fuse makes use of nosteal_pipe_buf_ops. This struct is exported by fs/splice. The goal of the larger patch set

[PATCH v6 2/7] fs: moved kernel_write to fs/read_write

2014-12-04 Thread Pieter Smith
them. Signed-off-by: Pieter Smith --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -1191,3

[PATCH v6 1/7] fs: move sendfile syscall into fs/splice

2014-12-04 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions(-) diff --git a/fs

[PATCH v6 5/7] net/core: support compiling out splice

2014-12-04 Thread Pieter Smith
splice support in net/core when CONFIG_SYSCALL_SPLICE is undefined. The compiled out function skb_splice_bits is transparently mocked out with a static inline. The greater patch set removes userspace splice support so it cannot be called anyway. Signed-off-by: Pieter Smith --- include/linux

[PATCH v6 7/7] fs/splice: full support for compiling out splice

2014-12-04 Thread Pieter Smith
--688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith --- fs/Makefile| 3 ++- fs/splice.c

[PATCH v6 6/7] fs/nfsd: support compiling out splice

2014-12-04 Thread Pieter Smith
The goal of the larger patch set is to completely compile out fs/splice, and as a result, splice support for all file-systems. This patch ensures that fs/nfsd falls back to non-splice fs support when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith --- net/sunrpc/svc.c | 2 +- 1

[PATCH v6 4/7] fs/fuse: support compiling out splice

2014-12-04 Thread Pieter Smith
splice support in fs/fuse when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith --- fs/fuse/dev.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index ca88731..99f1ff4 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -1291,6 +1291,7 @@ static

[PATCH v6 3/7] fs/splice: support compiling out splice-family syscalls

2014-12-04 Thread Pieter Smith
491 --491 do_sendfile 492 --492 vmsplice_to_pipe 558 --558 sys_splice 1020 - -1020 Signed-off-by: Pieter Smith --- fs/splice.c | 2 ++ init

[PATCH v6 0/7] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-12-04 Thread Pieter Smith
702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Pieter Smith (7): fs: move sendfile syscall into fs/splice fs: moved kernel_write to fs/read_write fs/splice: support

[PATCH v6 0/7] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-12-04 Thread Pieter Smith
702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Pieter Smith (7): fs: move sendfile syscall into fs/splice fs: moved kernel_write to fs/read_write fs/splice: support

[PATCH v6 3/7] fs/splice: support compiling out splice-family syscalls

2014-12-04 Thread Pieter Smith
491 --491 do_sendfile 492 --492 vmsplice_to_pipe 558 --558 sys_splice 1020 - -1020 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/splice.c

[PATCH v6 4/7] fs/fuse: support compiling out splice

2014-12-04 Thread Pieter Smith
splice support in fs/fuse when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/fuse/dev.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index ca88731..99f1ff4 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -1291,6

[PATCH v6 7/7] fs/splice: full support for compiling out splice

2014-12-04 Thread Pieter Smith
--688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/Makefile| 3 ++- fs

[PATCH v6 6/7] fs/nfsd: support compiling out splice

2014-12-04 Thread Pieter Smith
The goal of the larger patch set is to completely compile out fs/splice, and as a result, splice support for all file-systems. This patch ensures that fs/nfsd falls back to non-splice fs support when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith pie...@boesman.nl --- net/sunrpc

[PATCH v6 5/7] net/core: support compiling out splice

2014-12-04 Thread Pieter Smith
splice support in net/core when CONFIG_SYSCALL_SPLICE is undefined. The compiled out function skb_splice_bits is transparently mocked out with a static inline. The greater patch set removes userspace splice support so it cannot be called anyway. Signed-off-by: Pieter Smith pie...@boesman.nl

[PATCH v6 1/7] fs: move sendfile syscall into fs/splice

2014-12-04 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions

[PATCH v6 2/7] fs: moved kernel_write to fs/read_write

2014-12-04 Thread Pieter Smith
them. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs

Re: [PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 12:49:16PM -0800, j...@joshtriplett.org wrote: > On Tue, Nov 25, 2014 at 08:42:42PM +0100, Pieter Smith wrote: > > On Tue, Nov 25, 2014 at 03:17:13PM +0100, Miklos Szeredi wrote: > > > [Trimming CC. Please do the same for other patches. I for one am no

Re: [PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 08:42:42PM +0100, Pieter Smith wrote: > On Tue, Nov 25, 2014 at 03:17:13PM +0100, Miklos Szeredi wrote: > > [Trimming CC. Please do the same for other patches. I for one am not > > interested in the general tinification discussion] > > > > On

Re: [PATCH v4 0/7] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 02:04:41PM -0500, David Miller wrote: > From: j...@joshtriplett.org > Date: Tue, 25 Nov 2014 10:53:10 -0800 > > > It's not a "slippery slope"; it's been our standard practice for ages. > > We've never put an entire class of generic system calls behind > a config option.

Re: [PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 03:17:13PM +0100, Miklos Szeredi wrote: > [Trimming CC. Please do the same for other patches. I for one am not > interested in the general tinification discussion] > > On Tue, Nov 25, 2014 at 08:19:39AM +0100, Pieter Smith wrote: > > To implement splic

Re: [PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 03:17:13PM +0100, Miklos Szeredi wrote: [Trimming CC. Please do the same for other patches. I for one am not interested in the general tinification discussion] On Tue, Nov 25, 2014 at 08:19:39AM +0100, Pieter Smith wrote: To implement splice support, fs/fuse makes

Re: [PATCH v4 0/7] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 02:04:41PM -0500, David Miller wrote: From: j...@joshtriplett.org Date: Tue, 25 Nov 2014 10:53:10 -0800 It's not a slippery slope; it's been our standard practice for ages. We've never put an entire class of generic system calls behind a config option. I would

Re: [PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 08:42:42PM +0100, Pieter Smith wrote: On Tue, Nov 25, 2014 at 03:17:13PM +0100, Miklos Szeredi wrote: [Trimming CC. Please do the same for other patches. I for one am not interested in the general tinification discussion] On Tue, Nov 25, 2014 at 08:19:39AM +0100

Re: [PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-25 Thread Pieter Smith
On Tue, Nov 25, 2014 at 12:49:16PM -0800, j...@joshtriplett.org wrote: On Tue, Nov 25, 2014 at 08:42:42PM +0100, Pieter Smith wrote: On Tue, Nov 25, 2014 at 03:17:13PM +0100, Miklos Szeredi wrote: [Trimming CC. Please do the same for other patches. I for one am not interested

[PATCH v5 2/7] fs: moved kernel_write to fs/read_write

2014-11-24 Thread Pieter Smith
them. Signed-off-by: Pieter Smith --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -1191,3

[PATCH v5 1/7] fs: move sendfile syscall into fs/splice

2014-11-24 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions(-) diff --git a/fs

[PATCH v5 5/7] net/core: support compiling out splice

2014-11-24 Thread Pieter Smith
splice support in net/core when CONFIG_SYSCALL_SPLICE is undefined. The compiled out function skb_splice_bits is transparently mocked out with a static inline. The greater patch set removes userspace splice support so it cannot be called anyway. Signed-off-by: Pieter Smith --- include/linux

[PATCH v5 3/7] fs/splice: support compiling out splice-family syscalls

2014-11-24 Thread Pieter Smith
491 --491 do_sendfile 492 --492 vmsplice_to_pipe 558 --558 sys_splice 1020 - -1020 Signed-off-by: Pieter Smith --- fs/splice.c | 2 ++ init

[PATCH v5 7/7] fs/splice: full support for compiling out splice

2014-11-24 Thread Pieter Smith
--688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith --- fs/Makefile| 3 ++- fs/splice.c

[PATCH v5 6/7] fs/nfsd: support compiling out splice

2014-11-24 Thread Pieter Smith
The goal of the larger patch set is to completely compile out fs/splice, and as a result, splice support for all file-systems. This patch ensures that fs/nfsd falls back to non-splice fs support when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith --- net/sunrpc/svc.c | 2 +- 1

[PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-24 Thread Pieter Smith
splice support in fs/fuse when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith --- fs/fuse/dev.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index ca88731..e984302 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -1191,8

[PATCH v5 0/7] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-24 Thread Pieter Smith
1075 - -1075 __generic_file_splice_read 1109 - -1109 Pieter Smith (7): fs: move sendfile syscall into fs/splice fs: moved kernel_write to fs/read_write fs/splice: support compiling out splice-family syscalls fs/fuse: support compiling out splice

[PATCH v4 4/7] fs/fuse: support compiling out splice

2014-11-24 Thread Pieter Smith
splice support in fs/fuse when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith --- fs/fuse/dev.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index ca88731..e984302 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -1191,8

[PATCH v4 3/7] fs/splice: support compiling out splice-family syscalls

2014-11-24 Thread Pieter Smith
491 --491 do_sendfile 492 --492 vmsplice_to_pipe 558 --558 sys_splice 1020 - -1020 Signed-off-by: Pieter Smith --- fs/splice.c | 2

[PATCH v4 6/7] net/core: support compiling out splice

2014-11-24 Thread Pieter Smith
splice support in net/core when CONFIG_SYSCALL_SPLICE is undefined. The compiled out function skb_splice_bits is transparently mocked out with a static inline. The greater patch set removes userspace splice support so it cannot be called anyway. Signed-off-by: Pieter Smith --- include/linux

[PATCH v4 5/7] fs/nfsd: support compiling out splice

2014-11-24 Thread Pieter Smith
The goal of the larger patch set is to completely compile out fs/splice, and as a result, splice support for all file-systems. This patch ensures that fs/nfsd falls back to non-splice fs support when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith --- net/sunrpc/svc.c | 2 +- 1

[PATCH v4 7/7] fs/splice: full support for compiling out splice

2014-11-24 Thread Pieter Smith
--688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith --- fs/Makefile| 3 ++- fs/splice.c

[PATCH v4 2/7] fs: moved kernel_write to fs/read_write

2014-11-24 Thread Pieter Smith
them. Signed-off-by: Pieter Smith --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -1191,3

[PATCH v4 1/7] fs: move sendfile syscall into fs/splice

2014-11-24 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions(-) diff --git a/fs

[PATCH v4 0/7] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-24 Thread Pieter Smith
1109 - -1109 Pieter Smith (7): fs: move sendfile syscall into fs/splice fs: moved kernel_write to fs/read_write fs/splice: support compiling out splice-family syscalls fs/fuse: support compiling out splice fs/nfsd: support compiling out splice net/core: support compiling out splice

Re: [fuse-devel] [PATCH 4/6] fs/fuse: support compiling out splice

2014-11-24 Thread Pieter Smith
On Mon, Nov 24, 2014 at 12:22:14PM -0800, Greg KH wrote: > On Mon, Nov 24, 2014 at 12:14:50PM -0800, j...@joshtriplett.org wrote: > > > I would, again, argue that stuff like __splice_p() not be implemented at > > > all please. It will only cause a huge proliferation of stuff like this > > > that

Re: [PATCH 0/6] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-24 Thread Pieter Smith
On Sun, Nov 23, 2014 at 04:32:51PM -0800, Josh Triplett wrote: > On Sun, Nov 23, 2014 at 07:28:10PM -0500, Jeff Layton wrote: > > On Sun, 23 Nov 2014 15:36:37 -0800 > > Josh Triplett wrote: > > > > > On Sun, Nov 23, 2014 at 09:30:40PM +0100, Pieter Smith wrote: >

Re: [fuse-devel] [PATCH 4/6] fs/fuse: support compiling out splice

2014-11-24 Thread Pieter Smith
On Sun, Nov 23, 2014 at 03:23:02PM -0800, Josh Triplett wrote: > On Sun, Nov 23, 2014 at 11:29:08PM +0100, Richard Weinberger wrote: > > On Sun, Nov 23, 2014 at 3:20 PM, Pieter Smith wrote: > > > To implement splice support, fs/fuse makes use of nosteal_pipe_buf_ops. >

Re: [fuse-devel] [PATCH 4/6] fs/fuse: support compiling out splice

2014-11-24 Thread Pieter Smith
On Sun, Nov 23, 2014 at 03:23:02PM -0800, Josh Triplett wrote: On Sun, Nov 23, 2014 at 11:29:08PM +0100, Richard Weinberger wrote: On Sun, Nov 23, 2014 at 3:20 PM, Pieter Smith pie...@boesman.nl wrote: To implement splice support, fs/fuse makes use of nosteal_pipe_buf_ops. This struct

Re: [PATCH 0/6] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-24 Thread Pieter Smith
On Sun, Nov 23, 2014 at 04:32:51PM -0800, Josh Triplett wrote: On Sun, Nov 23, 2014 at 07:28:10PM -0500, Jeff Layton wrote: On Sun, 23 Nov 2014 15:36:37 -0800 Josh Triplett j...@joshtriplett.org wrote: On Sun, Nov 23, 2014 at 09:30:40PM +0100, Pieter Smith wrote: On Sun, Nov 23

Re: [fuse-devel] [PATCH 4/6] fs/fuse: support compiling out splice

2014-11-24 Thread Pieter Smith
On Mon, Nov 24, 2014 at 12:22:14PM -0800, Greg KH wrote: On Mon, Nov 24, 2014 at 12:14:50PM -0800, j...@joshtriplett.org wrote: I would, again, argue that stuff like __splice_p() not be implemented at all please. It will only cause a huge proliferation of stuff like this that will not

[PATCH v4 0/7] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-24 Thread Pieter Smith
1109 - -1109 Pieter Smith (7): fs: move sendfile syscall into fs/splice fs: moved kernel_write to fs/read_write fs/splice: support compiling out splice-family syscalls fs/fuse: support compiling out splice fs/nfsd: support compiling out splice net/core: support compiling out splice

[PATCH v4 1/7] fs: move sendfile syscall into fs/splice

2014-11-24 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions

[PATCH v4 2/7] fs: moved kernel_write to fs/read_write

2014-11-24 Thread Pieter Smith
them. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs

[PATCH v4 5/7] fs/nfsd: support compiling out splice

2014-11-24 Thread Pieter Smith
The goal of the larger patch set is to completely compile out fs/splice, and as a result, splice support for all file-systems. This patch ensures that fs/nfsd falls back to non-splice fs support when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith pie...@boesman.nl --- net/sunrpc

[PATCH v4 7/7] fs/splice: full support for compiling out splice

2014-11-24 Thread Pieter Smith
--688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/Makefile| 3 ++- fs

[PATCH v4 6/7] net/core: support compiling out splice

2014-11-24 Thread Pieter Smith
splice support in net/core when CONFIG_SYSCALL_SPLICE is undefined. The compiled out function skb_splice_bits is transparently mocked out with a static inline. The greater patch set removes userspace splice support so it cannot be called anyway. Signed-off-by: Pieter Smith pie...@boesman.nl

[PATCH v4 4/7] fs/fuse: support compiling out splice

2014-11-24 Thread Pieter Smith
splice support in fs/fuse when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/fuse/dev.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index ca88731..e984302 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse

[PATCH v4 3/7] fs/splice: support compiling out splice-family syscalls

2014-11-24 Thread Pieter Smith
491 --491 do_sendfile 492 --492 vmsplice_to_pipe 558 --558 sys_splice 1020 - -1020 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/splice.c

[PATCH v5 0/7] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-24 Thread Pieter Smith
1075 - -1075 __generic_file_splice_read 1109 - -1109 Pieter Smith (7): fs: move sendfile syscall into fs/splice fs: moved kernel_write to fs/read_write fs/splice: support compiling out splice-family syscalls fs/fuse: support compiling out splice

[PATCH v5 4/7] fs/fuse: support compiling out splice

2014-11-24 Thread Pieter Smith
splice support in fs/fuse when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/fuse/dev.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index ca88731..e984302 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse

[PATCH v5 6/7] fs/nfsd: support compiling out splice

2014-11-24 Thread Pieter Smith
The goal of the larger patch set is to completely compile out fs/splice, and as a result, splice support for all file-systems. This patch ensures that fs/nfsd falls back to non-splice fs support when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith pie...@boesman.nl --- net/sunrpc

[PATCH v5 7/7] fs/splice: full support for compiling out splice

2014-11-24 Thread Pieter Smith
--688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/Makefile| 3 ++- fs

[PATCH v5 3/7] fs/splice: support compiling out splice-family syscalls

2014-11-24 Thread Pieter Smith
491 --491 do_sendfile 492 --492 vmsplice_to_pipe 558 --558 sys_splice 1020 - -1020 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/splice.c

[PATCH v5 5/7] net/core: support compiling out splice

2014-11-24 Thread Pieter Smith
splice support in net/core when CONFIG_SYSCALL_SPLICE is undefined. The compiled out function skb_splice_bits is transparently mocked out with a static inline. The greater patch set removes userspace splice support so it cannot be called anyway. Signed-off-by: Pieter Smith pie...@boesman.nl

[PATCH v5 1/7] fs: move sendfile syscall into fs/splice

2014-11-24 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions

[PATCH v5 2/7] fs: moved kernel_write to fs/read_write

2014-11-24 Thread Pieter Smith
them. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs

Re: [PATCH 0/6] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-23 Thread Pieter Smith
On Sun, Nov 23, 2014 at 11:43:26AM -0800, Josh Triplett wrote: > On Sun, Nov 23, 2014 at 01:46:23PM -0500, David Miller wrote: > > Truly removing sendfile/sendpage means that you can't even compile NFS > > into the tree. > > If you mean the in-kernel nfsd (CONFIG_NFSD), that already has a large >

[PATCH 6/6] fs/splice: full support for compiling out splice

2014-11-23 Thread Pieter Smith
--688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith --- fs/Makefile| 3 ++- fs/splice.c

[PATCH 0/6] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-23 Thread Pieter Smith
default_file_splice_read 688 --688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Pieter Smith (6): fs: move sendfile syscall into fs/splice

[PATCH 3/6] fs/splice: support compiling out splice-family syscalls

2014-11-23 Thread Pieter Smith
558 --558 sys_splice 1020 - -1020 Signed-off-by: Pieter Smith --- fs/splice.c | 2 ++ init/Kconfig| 10 ++ kernel/sys_ni.c | 8 3 files changed, 20 insertions(+) diff --git a/fs/splice.c b/fs/splice.c index 44b201b

[PATCH 4/6] fs/fuse: support compiling out splice

2014-11-23 Thread Pieter Smith
splice support in fs/fuse when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith --- fs/fuse/dev.c | 4 ++-- include/linux/fs.h | 6 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index ca88731..f8f92a4 100644 --- a/fs/fuse

[PATCH 5/6] net/core: support compiling out splice

2014-11-23 Thread Pieter Smith
splice support in net/core when CONFIG_SYSCALL_SPLICE is undefined. The compiled out function skb_splice_bits is transparently mocked out with a static inline. The greater patch set removes userspace splice support so it cannot be called anyway. Signed-off-by: Pieter Smith --- include/linux

[PATCH 2/6] fs: moved kernel_write to fs/read_write

2014-11-23 Thread Pieter Smith
them. Signed-off-by: Pieter Smith --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -1191,3

[PATCH 1/6] fs: move sendfile syscall into fs/splice

2014-11-23 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions(-) diff --git a/fs

[PATCH 1/6] fs: move sendfile syscall into fs/splice

2014-11-23 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions

[PATCH 5/6] net/core: support compiling out splice

2014-11-23 Thread Pieter Smith
splice support in net/core when CONFIG_SYSCALL_SPLICE is undefined. The compiled out function skb_splice_bits is transparently mocked out with a static inline. The greater patch set removes userspace splice support so it cannot be called anyway. Signed-off-by: Pieter Smith pie...@boesman.nl

[PATCH 2/6] fs: moved kernel_write to fs/read_write

2014-11-23 Thread Pieter Smith
them. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs

[PATCH 0/6] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-23 Thread Pieter Smith
default_file_splice_read 688 --688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Pieter Smith (6): fs: move sendfile syscall into fs/splice

[PATCH 3/6] fs/splice: support compiling out splice-family syscalls

2014-11-23 Thread Pieter Smith
558 --558 sys_splice 1020 - -1020 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/splice.c | 2 ++ init/Kconfig| 10 ++ kernel/sys_ni.c | 8 3 files changed, 20 insertions(+) diff --git a/fs/splice.c b/fs/splice.c

[PATCH 4/6] fs/fuse: support compiling out splice

2014-11-23 Thread Pieter Smith
splice support in fs/fuse when CONFIG_SYSCALL_SPLICE is undefined. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/fuse/dev.c | 4 ++-- include/linux/fs.h | 6 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index ca88731..f8f92a4 100644

[PATCH 6/6] fs/splice: full support for compiling out splice

2014-11-23 Thread Pieter Smith
--688 iter_file_splice_write 702 4-698 sys_splice 1075 - -1075 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/Makefile| 3 ++- fs

Re: [PATCH 0/6] kernel tinification: optionally compile out splice family of syscalls (splice, vmsplice, tee and sendfile)

2014-11-23 Thread Pieter Smith
On Sun, Nov 23, 2014 at 11:43:26AM -0800, Josh Triplett wrote: On Sun, Nov 23, 2014 at 01:46:23PM -0500, David Miller wrote: Truly removing sendfile/sendpage means that you can't even compile NFS into the tree. If you mean the in-kernel nfsd (CONFIG_NFSD), that already has a large stack

[PATCH 6/6] fs/splice: full support for compiling out splice

2014-11-22 Thread Pieter Smith
iter_file_splice_write 702 4-698 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith --- fs/Makefile| 3 ++- fs/splice.c| 2 -- include/linux/fs.h | 26 ++ include/linux

[PATCH 4/6] fs/fuse: support compiling out splice

2014-11-22 Thread Pieter Smith
Compile out splice support from fuse when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- fs/fuse/dev.c | 4 ++-- include/linux/fs.h | 6 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff

[PATCH 5/6] net/core: support compiling out splice

2014-11-22 Thread Pieter Smith
Compile out splice support from networking core when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- include/linux/skbuff.h | 9 + net/core/skbuff.c | 9 ++--- 2 files changed, 15 insertions

[PATCH 2/6] fs: moved kernel_write to fs/read_write

2014-11-22 Thread Pieter Smith
them. Signed-off-by: Pieter Smith --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -1191,3

[PATCH 3/6] fs/splice: support compiling out splice-family syscalls

2014-11-22 Thread Pieter Smith
1020 - -1020 Signed-off-by: Pieter Smith --- fs/splice.c | 2 ++ init/Kconfig| 10 ++ kernel/sys_ni.c | 8 3 files changed, 20 insertions(+) diff --git a/fs/splice.c b/fs/splice.c index 44b201b..7c4c695 100644 --- a/fs/splice.c +++ b/fs/splice.c

[PATCH 1/6] fs: move sendfile syscall into fs/splice

2014-11-22 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions(-) diff --git a/fs

[PATCH 1/6] fs: move sendfile syscall into fs/splice

2014-11-22 Thread Pieter Smith
10751020 -55 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 175 --- fs/splice.c | 178 2 files changed, 178 insertions(+), 175 deletions

[PATCH 2/6] fs: moved kernel_write to fs/read_write

2014-11-22 Thread Pieter Smith
them. Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/read_write.c | 16 fs/splice.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index d9451ba..f4c8d8b 100644 --- a/fs/read_write.c +++ b/fs

[PATCH 3/6] fs/splice: support compiling out splice-family syscalls

2014-11-22 Thread Pieter Smith
1020 - -1020 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/splice.c | 2 ++ init/Kconfig| 10 ++ kernel/sys_ni.c | 8 3 files changed, 20 insertions(+) diff --git a/fs/splice.c b/fs/splice.c index 44b201b..7c4c695 100644 --- a/fs/splice.c

[PATCH 6/6] fs/splice: full support for compiling out splice

2014-11-22 Thread Pieter Smith
iter_file_splice_write 702 4-698 __generic_file_splice_read 1109 - -1109 Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/Makefile| 3 ++- fs/splice.c| 2 -- include/linux/fs.h | 26

[PATCH 4/6] fs/fuse: support compiling out splice

2014-11-22 Thread Pieter Smith
Compile out splice support from fuse when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith pie...@boesman.nl --- fs/fuse/dev.c | 4 ++-- include/linux/fs.h | 6 ++ 2 files changed, 8 insertions(+), 2

[PATCH 5/6] net/core: support compiling out splice

2014-11-22 Thread Pieter Smith
Compile out splice support from networking core when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith pie...@boesman.nl --- include/linux/skbuff.h | 9 + net/core/skbuff.c | 9 ++--- 2 files

[PATCH 06/56] fs/adfs: support compiling out splice

2014-11-13 Thread Pieter Smith
Compile out splice support from adfs when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- fs/adfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/adfs/file.c b/fs/adfs/file.c

[PATCH 07/56] fs/affs: support compiling out splice

2014-11-13 Thread Pieter Smith
Compile out splice support from affs when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- fs/affs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/affs/file.c b/fs/affs/file.c

[PATCH 05/56] fs/lustre: support compiling out splice

2014-11-13 Thread Pieter Smith
Compile out splice support from lustre file-system when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- drivers/staging/lustre/lustre/llite/file.c | 10 +++--- drivers/staging/lustre/lustre

[PATCH 12/56] fs/btrfs: support compiling out splice

2014-11-13 Thread Pieter Smith
Compile out splice support from btrfs when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- fs/btrfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/file.c b/fs/btrfs

[PATCH 10/56] fs/block_dev: support compiling out splice

2014-11-13 Thread Pieter Smith
Compile out splice support from block_dev when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- fs/block_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/block_dev.c b/fs

[PATCH 13/56] fs/ceph: support compiling out splice

2014-11-13 Thread Pieter Smith
Compile out splice support from ceph when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- fs/ceph/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ceph/file.c b/fs/ceph

[PATCH 14/56] fs/cifs: support compiling out splice

2014-11-13 Thread Pieter Smith
Compile out splice support from cifs when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- fs/cifs/cifsfs.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/cifs/cifsfs.c b

[PATCH 11/56] fs/bfs: support compiling out splice

2014-11-13 Thread Pieter Smith
Compile out splice support from bfs when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith --- fs/bfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bfs/file.c b/fs/bfs/file.c index

  1   2   3   >