Jaegeuk Kim c1ce1b02bb f2fs: give an option to enable in-place-updates during fsync to users
If user wrote F2FS_IPU_FSYNC:4 in /sys/fs/f2fs/ipu_policy, f2fs_sync_file
only starts to try in-place-updates.
And, if the number of dirty pages is over /sys/fs/f2fs/min_fsync_blocks, it
keeps out-of-order manner. Otherwise, it triggers in-place-updates.

This may be used by storage showing very high random write performance.

For example, it can be used when,

Seq. writes (Data) + wait + Seq. writes (Node)

is pretty much slower than,

Rand. writes (Data)

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2014-09-16 04:10:44 -07:00
..
2014-08-02 01:26:07 -05:00
2012-01-03 22:54:57 -05:00
2014-01-24 10:55:21 -06:00
2014-02-10 16:01:40 -08:00
2009-08-19 10:40:13 -07:00
2014-01-28 13:20:20 -08:00
2012-05-10 11:45:31 +01:00
2011-11-04 12:01:48 -07:00
2011-09-27 18:08:04 +02:00
2010-05-10 11:56:30 +02:00
2008-07-26 12:00:05 -07:00
2011-03-31 11:26:23 -03:00
2013-07-25 12:34:15 +02:00
2014-05-05 15:32:05 +02:00
2006-11-30 04:58:40 +01:00
2006-12-07 08:39:44 -08:00
2007-02-12 09:48:40 -08:00
2008-11-12 17:17:17 -08:00