[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] Sync Block Device

I'm trying to write a database. The database is using a block device for storage. I want to make sure that after a commit, all data has actually been persistent on disk.Â

The documentation for the `write` command says that on success, the written data is persistent:

Is this true, or do I need to call a `sync` command that asks the block device to persist all writes (i.e. write the contents of the hard drive's hardware cache to disk?)

- Konstantin
MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.