Le Wednesday 21 January 2009 09:48:49 Samuel Mimram, vous avez écrit :
> >  * Added back at_stop for file unlink: unlinking them before
> >    closing them forces their projection into memory, which is
> >    not what we want :)
>
> Just out of curiosity: are you sure of this? While there is a file
> descriptor open, the inode shouldn't be destroyed and so the situation
> should be just as if there was still a file... Did you observe all the
> data being put in memory with the unlink after open?

Yes, I remember testing this in another context.
Even more, I think the behaviour is up to the OS. And I'm pretty sure that in 
the case of linux, the file is loaded into memory.


Romain

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à