netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sendfile() & unlink()
@ 2003-05-01 17:28 Eric Lemoine
  2003-05-01 17:33 ` Steve Modica
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Lemoine @ 2003-05-01 17:28 UTC (permalink / raw)
  To: netdev

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.

-- 
Eric

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sendfile() & unlink()
  2003-05-01 17:28 sendfile() & unlink() Eric Lemoine
@ 2003-05-01 17:33 ` Steve Modica
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Modica @ 2003-05-01 17:33 UTC (permalink / raw)
  To: Eric Lemoine; +Cc: netdev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-01 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-01 17:28 sendfile() & unlink() Eric Lemoine
2003-05-01 17:33 ` Steve Modica

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).