1
0
Fork 0
alistair23-linux/fs/f2fs
Jaegeuk Kim e5d2385ed6 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>
2013-07-30 15:17:02 +09:00
..
Kconfig f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
Makefile f2fs: update Kconfig and Makefile 2012-12-11 13:43:42 +09:00
acl.c f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
acl.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
checkpoint.c f2fs: fix crc endian conversion 2013-07-02 08:47:35 +09:00
data.c This patch-set includes the following major enhancement patches. 2013-07-02 09:42:38 -07:00
debug.c f2fs: use list_for_each_entry rather than list_for_each_entry_safe 2013-05-28 15:03:02 +09:00
dir.c f2fs: fix readdir incorrectness 2013-07-08 13:35:48 +04:00
f2fs.h f2fs: fix crc endian conversion 2013-07-02 08:47:35 +09:00
file.c f2fs: recover date requested by fdatasync 2013-07-30 15:17:02 +09:00
gc.c f2fs: code cleanup and simplify in func {find/add}_gc_inode 2013-07-02 08:48:14 +09:00
gc.h f2fs: avoid frequent background GC 2013-04-26 10:35:03 +09:00
hash.c f2fs: unify string length declarations and usage 2012-12-28 11:27:53 +09:00
inode.c f2fs: avoid freqeunt write_inode calls 2013-06-14 09:04:43 +09:00
namei.c f2fs: recover wrong pino after checkpoint during fsync 2013-06-14 09:04:45 +09:00
node.c This patch-set includes the following major enhancement patches. 2013-07-02 09:42:38 -07:00
node.h f2fs: recover wrong pino after checkpoint during fsync 2013-06-14 09:04:45 +09:00
recovery.c f2fs: remove the unused argument "sbi" of func destroy_fsync_dnodes() 2013-07-02 08:48:15 +09:00
segment.c f2fs: remove reusing any prefree segments 2013-07-02 08:48:15 +09:00
segment.h f2fs: modify the number of issued pages to merge IOs 2013-04-30 12:07:32 +09:00
super.c f2fs: add remount_fs callback support 2013-06-17 21:17:55 +09:00
xattr.c f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00
xattr.h f2fs: support xattr security labels 2013-06-11 16:01:03 +09:00