commit | e5d2385ed6d8543a8884afc28aee44d46cfe64be | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Wed Jul 03 10:55:52 2013 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Tue Jul 30 15:17:02 2013 +0900 |
tree | fc3e1a9a7ff1e038aacc1a1b45f75e7048932b05 | |
parent | 36f571e9ed0419e73d127e18aa8992ced867268c [diff] |
f2fs: recover date requested by fdatasync In order to support SQLite that uses fdatasync instead of fsync, we should guarantee the data requested by fdatasync can be recovered after sudden-power- off. So, let's remove the fdatasync condition in f2fs_sync_file. Otherwise, we can restore the data after sudden-power-off due to nonexistence of any fsync mark'ed node blocks. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>