[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Building a sample File storage app
On Fri, Feb 12, 2016 at 1:14 PM, Thomas Leonard <talex5@xxxxxxxxx> wrote: On 12 February 2016 at 05:56, Vanshdeep Singh <kansi13@xxxxxxxxx> wrote: I was able to successfully create and run the a 1GB fat disk using mkfs.fatÂ
I have tried to narrow down the problem and it turn turns out that the code gets stuck at Fs.write because on commenting Fs.write all the data is successfully received and iterated using Lwt_stream.iter_s . But when I try to write using Fs.write first 3 to 4 page buffers are successfully written and then it hangs. I tried to profile the vm using mirage-trace-view but there was not much I could understand. I am attaching the results in case you can see and suggest something. Note: I was trying to upload a 30Mb file which could copy into the disk using "fat add" command but when I tried uploading and writing to the disk the Fs.write call won't return after writing a few page buffers. about the files: trace.ctf 1-5 show the incremental trace of the vm when I upload the 30Mb file Â
Attachment:
trace.ctf1 Attachment:
trace.ctf2 Attachment:
trace.ctf3 Attachment:
trace.ctf4 Attachment:
trace.ctf5 _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |