From: Steve Modica <modica@sgi.com>
To: Eric Lemoine <Eric.Lemoine@Sun.COM>
Cc: netdev@oss.sgi.com
Subject: Re: sendfile() & unlink()
Date: Thu, 01 May 2003 12:33:29 -0500 [thread overview]
Message-ID: <3EB15A69.1000706@sgi.com> (raw)
In-Reply-To: <20030501172805.GB4580@udine>
Unlinking an open tmp file (so it doesn't show up in a directory listing
) is a pretty common thing to do on Irix. I sure hope one can do that
on linux :)
Eric Lemoine wrote:
> Hi
>
> What happens when unlink()ing a file that has just been sendfile()d? Is
> there any guarantee that the file remains in the buffer cache while TCP
> completes the xmit?
>
> Thx.
>
--
Steve Modica
work: 651-683-3224
mobile: 651-261-3201
Manager - Networking Drivers Group
"Give a man a fish, and he will eat for a day, hit him with a fish and
he leaves you alone" - me
prev parent reply other threads:[~2003-05-01 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-01 17:28 sendfile() & unlink() Eric Lemoine
2003-05-01 17:33 ` Steve Modica [this message]
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=3EB15A69.1000706@sgi.com \
--to=modica@sgi.com \
--cc=Eric.Lemoine@Sun.COM \
--cc=netdev@oss.sgi.com \
/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;
as well as URLs for NNTP newsgroup(s).