sendfile() & unlink()
Subsystems (2)
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.
Signature · 1 line
Eric
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 :)
Quoted 8 lines · Eric Lemoine
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.
Signature · 6 lines
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