Files
acrn-hypervisor/devicemodel/hw/platform
Huang Yang 0621b24819 DM: Add write sync in fwrite
An immediate reset or power down will cause a loss of write content.
The cause is the data write to disk is at cache within a short
time window before it's synced to storage media.
An explicit fsync() forces to sync the data to storage to prevent
the data loss of such immediate reset.

Signed-off-by: Huang Yang <yang.huang@intel.com>
Signed-off-by: duminx <minx.du@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-05 11:38:06 +08:00
..
2018-06-07 14:35:30 +08:00
2018-07-05 11:38:06 +08:00
2018-06-07 14:35:30 +08:00
2018-06-07 14:35:30 +08:00
2018-06-07 14:35:30 +08:00
2018-06-07 14:35:30 +08:00
2018-06-07 14:35:30 +08:00
2018-06-07 14:35:30 +08:00