-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delay write of all metadata #7
Comments
I think a full delay is a good idea, however, let's not confuse responsibilities: if you want an efficient cache, this is probably another product you need to look for (something that would cache all writes and flush them to disk in an ordered way in order to reduce seek delay, for example) on which you would back the ExFat library. |
My thoughts for thinking :) |
And are you interested in contributing to the project? 😉 |
I don't have time currently, but if you don't mind I can develop and contribute changes in which I interested. |
That's the whole point of open source software: anyone can contribute and is usually welcome to! |
will be good to have option to delay writing of all of metadata (Directory and FAT entries).
So it will be possible to sequential write data of many files without interrupting to write its metadata.
Sequential write is huge faster than write non-sequentially relatively small chunks.
Flush metadata either explicitly on convenient time or optionally by configurable timer.
Timer can be different for different operations, like 30 seconds for adding/moving/renaming/changing files and 1 second for deleting/shrinking files.
Either to have 2 streams, one for file data and second for metadata, so stream for metadata can be buffered.
The text was updated successfully, but these errors were encountered: