mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: voron@amhost.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: sendfile to nonblocking socket
Date: Mon, 23 Apr 2007 14:59:09 -0700 (PDT)	[thread overview]
Message-ID: <20070423.145909.31640377.davem@davemloft.net> (raw)
In-Reply-To: <462D2177.1060609@amhost.net>

From: voron <voron@amhost.net>
Date: Tue, 24 Apr 2007 00:13:27 +0300

> As I see, nonblocking mode is enabled - sendfile sends less than asked.  

The socket is marked as non-blocking, but the disk I/O is not.

It's blocking on the disk I/O not the socket part of the operation.

  reply	other threads:[~2007-04-23 21:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 21:13 voron
2007-04-23 21:59 ` David Miller [this message]
2007-04-24  4:42   ` Alex Vorona
2007-04-23 22:52 ` David Schwartz
2007-04-24  4:54   ` Alex Vorona
2007-04-24  9:19     ` David Schwartz
2007-04-24 10:33       ` Re[2]: " Alex Vorona
2007-04-24 12:48         ` Eric Dumazet
2007-04-24 19:19         ` David Schwartz
2007-04-25 11:41 A.D.F.

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=20070423.145909.31640377.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=voron@amhost.net \
    /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