netdev
[Top] [All Lists]

Re: sendfile() & unlink()

To: Eric Lemoine <Eric.Lemoine@xxxxxxx>
Subject: Re: sendfile() & unlink()
From: Steve Modica <modica@xxxxxxx>
Date: Thu, 01 May 2003 12:33:29 -0500
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20030501172805.GB4580@udine>
Organization: SGI
References: <20030501172805.GB4580@udine>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030425
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 in Thread] Current Thread [Next in Thread>