[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
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

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