[Question] Genode File/IO sync
Christian Prochaska
christian.prochaska at ...1...
Thu Sep 27 14:34:48 CEST 2012
Hello,
from your error description alone it's hard to tell what goes wrong. Can
you perhaps send us a test program (and run script) where the loss of
file content can be observed? The file content should get flushed when
closing the file via the 'close()' function. Does your test program do that?
Regards,
Christian
On 09/27/2012 06:25 AM, 김연우 wrote:
> Dear Genode,
>
> I'm having some trouble with the File I/O.
>
> I implemented the File I/O test program to test the Genode. And then, I had
> experienced a loss of file contents.
> The root cause is my mistake that I doesn't call the fsync function at end of
> writing. But I can't understand that the file contents is never flushed, even if
> the application doesn't not call fsync. I assume that the file system of genode
> doesn't not using the background flush.
> Is it correct? And if it is right, could you tell me why genode doesn't not
> provide the function of background flush?
>
> Best,
> Kim, Youn-woo.
>
> **
>
> **
>
> *Kim, YounWoo / M. +82-10-2565-3903*
>
> *e-Mail. yw0119.kim at ...60... <mailto:eyw0119.kim at ...60...>*
>
> Engineer
>
> NextGen. OS Lab in Software R&D Center
>
> *SAMSUNG ELECTRONICS CO., LTD.*
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20120927/8753b9d5/attachment.html>
More information about the users
mailing list