Perhaps it would help if I just explained why it is so important.
I am writing a filesystem, I am using perl to quickly prototype it and write something that works, I will then likely try to make a kernel moduel (though my c/c++ skills are not very good, and the kernel code is way over my head)
The key is That the database that keeps track of where files are on the disk, and the journal that records operations and weather or not they finished has a critical need to be written in the order I specify. For instance if I am copying a file to the device the journal NEEDS to have it written that the operation was started, then the file is written and I do not care about caching, I will flush when it is done. Then I NEEd the journal to have an entree saying the operation finished. It is critical that the journal operations happen when I specify.
Since flash drives have faster random access I am using them to store the database while I use regular disks to hold the actual files since they are larger and continuous.
Before anyone tries to point out that it may have been done before or where I want to say I do not care, I am not doing this to be original or to get any kind of recognition, I am doing it to learn how to do it. | [reply] |