Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information