splice.git
13 years agoFix various compile warnings master
Jens Axboe [Fri, 12 Nov 2010 10:45:23 +0000 (11:45 +0100)]
Fix various compile warnings

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
16 years agonettest 32-bit warnings
Jens Axboe [Fri, 22 Jun 2007 12:56:24 +0000 (14:56 +0200)]
nettest 32-bit warnings

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agoAdd nettest/ tools
Jens Axboe [Fri, 22 Jun 2007 12:54:34 +0000 (14:54 +0200)]
Add nettest/ tools

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agoMerge branch 'master' of ssh://brick.kernel.dk/data/git/splice
Jens Axboe [Wed, 13 Jun 2007 17:38:34 +0000 (19:38 +0200)]
Merge branch 'master' of ssh://brick.kernel.dk/data/git/splice

16 years agovmsplice-touser: size and non-block option
Jens Axboe [Wed, 13 Jun 2007 13:52:00 +0000 (15:52 +0200)]
vmsplice-touser: size and non-block option

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agovmsplice-touser: cleanup
Jens Axboe [Wed, 13 Jun 2007 13:46:07 +0000 (15:46 +0200)]
vmsplice-touser: cleanup

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agoREADME: missing documentation
Jens Axboe [Wed, 13 Jun 2007 13:19:01 +0000 (15:19 +0200)]
README: missing documentation

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agosplice.h: SPLICE_F_UNMAP definition update
Jens Axboe [Wed, 13 Jun 2007 13:16:50 +0000 (15:16 +0200)]
splice.h: SPLICE_F_UNMAP definition update

That flag was introduced after the others, so check for it
seperately in the header. Fixes compile on systems splice
in the /usr/include headers.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agovmsplice-touser: -z requires -m
Jens Axboe [Wed, 13 Jun 2007 13:13:17 +0000 (15:13 +0200)]
vmsplice-touser: -z requires -m

And fix buffer assignment.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agovmsplice-to-user: update for real zero copy to user
Jens Axboe [Wed, 13 Jun 2007 11:14:15 +0000 (13:14 +0200)]
vmsplice-to-user: update for real zero copy to user

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agosplice-fromnet/out: more flags
Jens Axboe [Tue, 12 Jun 2007 22:10:23 +0000 (15:10 -0700)]
splice-fromnet/out: more flags

16 years agosplice-fromnet: add poll and size options
Jens Axboe [Tue, 12 Jun 2007 11:57:08 +0000 (13:57 +0200)]
splice-fromnet: add poll and size options

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agosplice flags are unsigned int, not unsigned long
Jens Axboe [Fri, 8 Jun 2007 09:25:19 +0000 (11:25 +0200)]
splice flags are unsigned int, not unsigned long

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agosplice-cp: 0 return is not an error
Jens Axboe [Fri, 8 Jun 2007 07:44:51 +0000 (09:44 +0200)]
splice-cp: 0 return is not an error

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agoWork around glibc weirdness
Jens Axboe [Fri, 8 Jun 2007 07:44:06 +0000 (09:44 +0200)]
Work around glibc weirdness

Some newer glibc seem to badly mangle the splice system call
so that nothing works. Work around this bug by using our
private splice/vmsplice/tee system calls, prefix them with 's'.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agovmsplice examples: need fcntl.h include
Jens Axboe [Fri, 8 Jun 2007 07:40:24 +0000 (09:40 +0200)]
vmsplice examples: need fcntl.h include

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
16 years agosplice-fromnet: really splice from network
Jens Axboe [Tue, 5 Jun 2007 17:14:15 +0000 (10:14 -0700)]
splice-fromnet: really splice from network

This requires kernel changes.

16 years agovmsplice-touser: example
Jens Axboe [Mon, 4 Jun 2007 19:35:37 +0000 (12:35 -0700)]
vmsplice-touser: example

17 years agoMerge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/splice
Jens Axboe [Tue, 6 Feb 2007 10:00:16 +0000 (11:00 +0100)]
Merge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/splice

17 years ago[PATCH] x86_64 version of rdtscll()
Ulisses Furquim [Tue, 6 Feb 2007 09:59:12 +0000 (10:59 +0100)]
[PATCH] x86_64 version of rdtscll()

this patch only adds a x86_64 version of rdtscll() to splice-test4c.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Fix build with newer glibc/kernel-headers
Jens Axboe [Mon, 5 Feb 2007 14:24:07 +0000 (15:24 +0100)]
[PATCH] Fix build with newer glibc/kernel-headers

On newer systems (SUSE 10.2 for one), the build fails because
the splice functions and flags are available in the normal
headers.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] splice.h - convert _syscallX to syscall
Brandon Philips [Mon, 5 Feb 2007 14:22:43 +0000 (15:22 +0100)]
[PATCH] splice.h - convert _syscallX to syscall

When I tried building your demo splice apps from splice.git it failed
because _syscallX macros don't exist/work on my system.  The use of
_syscallX seems to be deprecated anyways.

This patch converts the calls from _syscallX() to syscall()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Update .gitignore
Jens Axboe [Fri, 22 Dec 2006 15:04:16 +0000 (16:04 +0100)]
[PATCH] Update .gitignore

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] Add simple splice-fromnet example
Jens Axboe [Fri, 22 Dec 2006 12:44:32 +0000 (13:44 +0100)]
[PATCH] Add simple splice-fromnet example

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years ago[PATCH] make install fix
Mark Fasheh [Thu, 19 Oct 2006 17:15:08 +0000 (19:15 +0200)]
[PATCH] make install fix

Create mandir before trying to copy files into it.

17 years ago[PATCH] email update
Jens Axboe [Tue, 5 Sep 2006 08:49:13 +0000 (10:49 +0200)]
[PATCH] email update

17 years ago[PATCH] Add vmsplice2 binary to .gitignore
Jens Axboe [Wed, 30 Aug 2006 08:15:44 +0000 (10:15 +0200)]
[PATCH] Add vmsplice2 binary to .gitignore

17 years agoMerge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/splice
Jens Axboe [Tue, 11 Jul 2006 07:59:37 +0000 (09:59 +0200)]
Merge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/splice

17 years ago[PATCH] Use <linux/unistd.h> for _syscallX() functions
Jens Axboe [Tue, 11 Jul 2006 07:59:33 +0000 (09:59 +0200)]
[PATCH] Use <linux/unistd.h> for _syscallX() functions

17 years ago[PATCH] ktee: don't use SPLICE_F_NONBLOCK
Jens Axboe [Mon, 10 Jul 2006 19:55:38 +0000 (12:55 -0700)]
[PATCH] ktee: don't use SPLICE_F_NONBLOCK

We cannot reliably detect when to quit in that case, so just always block.

17 years ago[PATCH] Cleanups/dead code removal
Jens Axboe [Wed, 3 May 2006 20:33:21 +0000 (22:33 +0200)]
[PATCH] Cleanups/dead code removal

17 years ago[PATCH] splice-bench: set SO_REUSEADDR on server end
Jens Axboe [Wed, 3 May 2006 08:48:37 +0000 (10:48 +0200)]
[PATCH] splice-bench: set SO_REUSEADDR on server end

17 years ago[PATCH] vmsplice2: warning fix
Jens Axboe [Wed, 3 May 2006 08:48:11 +0000 (10:48 +0200)]
[PATCH] vmsplice2: warning fix

17 years ago[PATCH]: vmsplice2 update
Jens Axboe [Wed, 3 May 2006 08:23:31 +0000 (10:23 +0200)]
[PATCH]: vmsplice2 update

17 years ago[PATCH] vmsplice2: page spanning needs 3 pages
Jens Axboe [Tue, 2 May 2006 11:58:19 +0000 (13:58 +0200)]
[PATCH] vmsplice2: page spanning needs 3 pages

17 years ago[PATCH] vmsplice2: add option -c for each segment spanning a page
Jens Axboe [Tue, 2 May 2006 11:54:32 +0000 (13:54 +0200)]
[PATCH] vmsplice2: add option -c for each segment spanning a page

17 years ago[PATCH] README: mention vmsplice2
Jens Axboe [Tue, 2 May 2006 11:42:00 +0000 (13:42 +0200)]
[PATCH] README: mention vmsplice2

17 years ago[PATCH] vmsplice2: add header/body padding at the end
Jens Axboe [Tue, 2 May 2006 11:41:11 +0000 (13:41 +0200)]
[PATCH] vmsplice2: add header/body padding at the end

17 years ago[PATCH] vmsplice2: add switch for stack allocation
Jens Axboe [Tue, 2 May 2006 11:32:27 +0000 (13:32 +0200)]
[PATCH] vmsplice2: add switch for stack allocation

17 years ago[PATCH] vmsplice2: don't allocate memory on stack
Jens Axboe [Tue, 2 May 2006 11:13:12 +0000 (13:13 +0200)]
[PATCH] vmsplice2: don't allocate memory on stack

17 years ago[PATCH] vmsplice2: another test program
Jens Axboe [Tue, 2 May 2006 10:59:29 +0000 (12:59 +0200)]
[PATCH] vmsplice2: another test program

17 years ago[PATCH] man page update
Jens Axboe [Tue, 2 May 2006 07:43:30 +0000 (09:43 +0200)]
[PATCH] man page update

17 years ago[PATCH] splice-in: accept block device as input
Jens Axboe [Mon, 1 May 2006 14:51:42 +0000 (16:51 +0200)]
[PATCH] splice-in: accept block device as input

17 years ago[PATCH] ktee: add -m option for moving of pages
Jens Axboe [Mon, 1 May 2006 07:55:16 +0000 (09:55 +0200)]
[PATCH] ktee: add -m option for moving of pages

17 years ago[PATCH] man page update
Jens Axboe [Mon, 1 May 2006 07:49:04 +0000 (09:49 +0200)]
[PATCH] man page update

17 years ago[PATCH] Fixup syscall definitions
Jens Axboe [Mon, 1 May 2006 07:25:35 +0000 (09:25 +0200)]
[PATCH] Fixup syscall definitions

17 years ago[PATCH] Install man pages as well with make install
Jens Axboe [Sun, 30 Apr 2006 12:39:28 +0000 (14:39 +0200)]
[PATCH] Install man pages as well with make install

17 years ago[PATCH] Update README
Jens Axboe [Sun, 30 Apr 2006 12:37:02 +0000 (14:37 +0200)]
[PATCH] Update README

17 years ago[PATCH] Add HISTORY section to man pages.
Jens Axboe [Sun, 30 Apr 2006 12:34:26 +0000 (14:34 +0200)]
[PATCH] Add HISTORY section to man pages.

17 years ago[PATCH] vmsplice: allow for setting of SPLICE_F_GIFT flag.
Jens Axboe [Sun, 30 Apr 2006 12:29:00 +0000 (14:29 +0200)]
[PATCH] vmsplice: allow for setting of SPLICE_F_GIFT flag.

17 years ago[PATCH] splice-out: fix argv[] indexing for output file name
Jens Axboe [Sun, 30 Apr 2006 12:28:38 +0000 (14:28 +0200)]
[PATCH] splice-out: fix argv[] indexing for output file name

17 years ago[PATCH man page update (added splice and tee)
Jens Axboe [Sun, 30 Apr 2006 12:28:12 +0000 (14:28 +0200)]
[PATCH man page update (added splice and tee)

17 years agoMerge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/splice
Jens Axboe [Fri, 28 Apr 2006 11:13:00 +0000 (13:13 +0200)]
Merge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/splice

17 years ago[PATCH] vmsplice: first attempt at man page
Jens Axboe [Fri, 28 Apr 2006 11:12:53 +0000 (13:12 +0200)]
[PATCH] vmsplice: first attempt at man page

17 years ago[PATCH] splice-bench: cleanup
Jens Axboe [Thu, 27 Apr 2006 19:04:15 +0000 (21:04 +0200)]
[PATCH] splice-bench: cleanup

17 years ago[PATCH] splice-bench: error checking
Jens Axboe [Thu, 27 Apr 2006 11:19:56 +0000 (13:19 +0200)]
[PATCH] splice-bench: error checking

17 years ago[PATCH] splice-bench: add rw and mmap clients
Jens Axboe [Thu, 27 Apr 2006 11:12:41 +0000 (13:12 +0200)]
[PATCH] splice-bench: add rw and mmap clients

17 years ago[PATCH] Remove fcntl bits, they are not part of the vmsplice patch anymore
Jens Axboe [Wed, 26 Apr 2006 13:31:13 +0000 (15:31 +0200)]
[PATCH] Remove fcntl bits, they are not part of the vmsplice patch anymore

17 years ago[PATCH] Correct sys_vmsplice syscall number on ia64
Jens Axboe [Wed, 26 Apr 2006 13:30:15 +0000 (15:30 +0200)]
[PATCH] Correct sys_vmsplice syscall number on ia64

17 years agoMerge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/splice
Jens Axboe [Wed, 26 Apr 2006 13:28:18 +0000 (15:28 +0200)]
Merge branch 'master' of ssh://axboe@router.home.kernel.dk/data/git/splice

17 years ago[PATCH] Formalize input/output pipe checking
Jens Axboe [Wed, 26 Apr 2006 13:28:10 +0000 (15:28 +0200)]
[PATCH] Formalize input/output pipe checking

17 years ago[PATCH] Makefile: add install target (defaults to /usr/local/bin)
Jens Axboe [Wed, 26 Apr 2006 13:24:30 +0000 (15:24 +0200)]
[PATCH] Makefile: add install target (defaults to /usr/local/bin)

17 years ago[PATCH] Add splice-bench to .gitignore
Jens Axboe [Wed, 26 Apr 2006 13:19:31 +0000 (15:19 +0200)]
[PATCH] Add splice-bench to .gitignore

17 years ago[PATCH] Correct usage information
Jens Axboe [Wed, 26 Apr 2006 13:19:17 +0000 (15:19 +0200)]
[PATCH] Correct usage information

17 years ago[PATCH] splice-bench: really fix warning
Jens Axboe [Wed, 26 Apr 2006 13:05:59 +0000 (15:05 +0200)]
[PATCH] splice-bench: really fix warning

17 years ago[PATCH] splice-bench: compile warning
Jens Axboe [Wed, 26 Apr 2006 13:05:17 +0000 (15:05 +0200)]
[PATCH] splice-bench: compile warning

17 years ago[PATCH] splice-bench: add new bench/test tool
Jens Axboe [Wed, 26 Apr 2006 13:07:56 +0000 (15:07 +0200)]
[PATCH] splice-bench: add new bench/test tool

17 years ago[PATCH] splice-test4c: kill __mm_clockdev usage on ia64
Jens Axboe [Wed, 26 Apr 2006 08:58:48 +0000 (10:58 +0200)]
[PATCH] splice-test4c: kill __mm_clockdev usage on ia64

It requires addon stuff that isn't always there.

17 years ago[PATCH] ktee-net: fix permissions
Jens Axboe [Tue, 25 Apr 2006 17:14:07 +0000 (19:14 +0200)]
[PATCH] ktee-net: fix permissions

17 years ago[PATCH] vmsplice: add -u unalignment parameter
Jens Axboe [Tue, 25 Apr 2006 14:02:18 +0000 (16:02 +0200)]
[PATCH] vmsplice: add -u unalignment parameter

18 years ago[PATCH] vmsplice: kill the fcntl bits, it's not in the kernel anymore
Jens Axboe [Mon, 24 Apr 2006 19:19:35 +0000 (21:19 +0200)]
[PATCH] vmsplice: kill the fcntl bits, it's not in the kernel anymore

18 years ago[PATCH] vmsplice: update to iov syscall
Jens Axboe [Mon, 24 Apr 2006 18:58:42 +0000 (20:58 +0200)]
[PATCH] vmsplice: update to iov syscall

18 years ago[PATCH] vmsplice: actually check for -c...
Jens Axboe [Mon, 24 Apr 2006 12:23:55 +0000 (14:23 +0200)]
[PATCH] vmsplice: actually check for -c...

18 years ago[PATCH] vmsplice: add clear option (-c)
Jens Axboe [Mon, 24 Apr 2006 12:23:24 +0000 (14:23 +0200)]
[PATCH] vmsplice: add clear option (-c)

18 years ago[PATCH] splice-out: correct comment (it splices stdin to file)
Jens Axboe [Sat, 22 Apr 2006 18:30:48 +0000 (20:30 +0200)]
[PATCH] splice-out: correct comment (it splices stdin to file)

18 years ago[PATCH] splice-net: just kill the rate stuff
Jens Axboe [Sat, 22 Apr 2006 18:28:53 +0000 (20:28 +0200)]
[PATCH] splice-net: just kill the rate stuff

18 years ago[PATCH] splice-net: pretty up rate show
Jens Axboe [Sat, 22 Apr 2006 18:28:07 +0000 (20:28 +0200)]
[PATCH] splice-net: pretty up rate show

18 years ago[PATCH] splice-net: make it look like the other tools
Jens Axboe [Sat, 22 Apr 2006 15:27:54 +0000 (17:27 +0200)]
[PATCH] splice-net: make it look like the other tools

Require input be on stdin via a pipe.

18 years ago[PATCH] splice-net: kill the 'bla' and kb_sent restrictions
Jens Axboe [Sat, 22 Apr 2006 15:22:20 +0000 (17:22 +0200)]
[PATCH] splice-net: kill the 'bla' and kb_sent restrictions

18 years ago[PATCH] vmsplice: remember to update 'buffer' for multiple iterations
Jens Axboe [Fri, 21 Apr 2006 11:00:14 +0000 (13:00 +0200)]
[PATCH] vmsplice: remember to update 'buffer' for multiple iterations

18 years ago[PATCH] ktee-net: cleanup
Jens Axboe [Fri, 21 Apr 2006 08:14:01 +0000 (10:14 +0200)]
[PATCH] ktee-net: cleanup

18 years ago[PATCH] Add vmsplice
Jens Axboe [Fri, 21 Apr 2006 07:44:23 +0000 (09:44 +0200)]
[PATCH] Add vmsplice

18 years ago[PATCH] README: document splice-test4c 'largefile'
Jens Axboe [Thu, 20 Apr 2006 13:37:35 +0000 (15:37 +0200)]
[PATCH] README: document splice-test4c 'largefile'

18 years ago[PATCH] splice-test4c: Remove getenv() requirements
Jens Axboe [Thu, 20 Apr 2006 13:36:34 +0000 (15:36 +0200)]
[PATCH] splice-test4c: Remove getenv() requirements

18 years ago[PATCH] Add mandatory README file
Jens Axboe [Thu, 20 Apr 2006 13:34:15 +0000 (15:34 +0200)]
[PATCH] Add mandatory README file

18 years agoAdd bin files to .gitignore
Jens Axboe [Thu, 20 Apr 2006 13:27:14 +0000 (15:27 +0200)]
Add bin files to .gitignore

18 years agoAdd .gitignore
Jens Axboe [Thu, 20 Apr 2006 13:26:39 +0000 (15:26 +0200)]
Add .gitignore

18 years ago[PATCH] ktee-net: Add ktee-net
Jens Axboe [Thu, 20 Apr 2006 13:26:06 +0000 (15:26 +0200)]
[PATCH] ktee-net: Add ktee-net

This dupes data from stdin to a network host and stdout.

18 years ago[PATCH] splice-net: remove debug crap
Jens Axboe [Thu, 20 Apr 2006 13:04:35 +0000 (15:04 +0200)]
[PATCH] splice-net: remove debug crap

18 years ago[PATCH] splice-out: Add migrate support (-m option)
Jens Axboe [Thu, 20 Apr 2006 12:58:16 +0000 (14:58 +0200)]
[PATCH] splice-out: Add migrate support (-m option)

18 years ago[PATCH] splice-cp: Add migrate support (-m option)
Jens Axboe [Thu, 20 Apr 2006 12:36:09 +0000 (14:36 +0200)]
[PATCH] splice-cp: Add migrate support (-m option)

18 years ago[PATCH] Use error() throughout examples
Jens Axboe [Thu, 20 Apr 2006 12:26:49 +0000 (14:26 +0200)]
[PATCH] Use error() throughout examples

18 years agoInitial commit
Jens Axboe [Wed, 19 Apr 2006 11:27:06 +0000 (13:27 +0200)]
Initial commit