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
..
2011-10-24 16:52:39 +02:00
evm
2011-07-18 12:29:40 -04:00
2010-10-21 20:21:03 -04:00
2013-03-23 16:11:31 -07:00
2012-03-28 18:41:23 +01:00
2011-03-31 11:26:23 -03:00
2012-04-23 14:23:32 +03:00
2011-03-22 04:53:09 -03:00
2008-11-12 17:17:18 -08:00
2011-03-31 11:26:23 -03:00
2013-10-17 00:36:06 +02:00
2013-06-21 11:32:51 +02:00
2011-04-29 18:09:34 -07:00
2009-02-18 15:37:56 -08:00
2009-09-23 07:39:48 -07:00
2012-06-25 13:48:15 +02:00
2009-06-18 13:04:04 -07:00