From: Daniel Drake <ddrake@brontes3d.com>
To: axboe@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: splice blocks indefinitely when len > 64k?
Date: Mon, 30 Oct 2006 11:39:50 -0500 [thread overview]
Message-ID: <1162226390.7280.18.camel@systems03.lan.brontes3d.com> (raw)
Hi,
I'm experimenting with splice and have run into some unusual behaviour.
I am using the utilities in git://brick.kernel.dk/data/git/splice.git
In splice.h, when changing SPLICE_SIZE from:
#define SPLICE_SIZE (64*1024)
to
#define SPLICE_SIZE ((64*1024)+1)
splice-cp hangs indefinitely when copying files sized 65537 bytes or
more. It hangs on the first splice() call.
Is this a bug? I'd like to be able to copy much more than 64kb on a
single splice call.
Thanks!
Daniel
next reply other threads:[~2006-10-30 17:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-30 16:39 Daniel Drake [this message]
2006-10-30 19:11 ` Phillip Susi
2006-10-30 19:32 ` Daniel Drake
2006-10-30 19:55 ` Jens Axboe
2006-10-30 19:54 ` Jens Axboe
2006-10-30 21:08 ` Stephen Hemminger
2006-10-31 7:27 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1162226390.7280.18.camel@systems03.lan.brontes3d.com \
--to=ddrake@brontes3d.com \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome