Jaegeuk Kim 6b4afdd794 f2fs: introduce f2fs_issue_flush to avoid redundant flush issue
Some storage devices show relatively high latencies to complete cache_flush
commands, even though their normal IO speed is prettry much high. In such
the case, it needs to merge cache_flush commands as much as possible to avoid
issuing them redundantly.
So, this patch introduces a mount option, "-o flush_merge", to mitigate such
the overhead.

If this option is enabled by user, F2FS merges the cache_flush commands and then
issues just one cache_flush on behalf of them. Once the single command is
finished, F2FS sends a completion signal to all the pending threads.

Note that, this option can be used under a workload consisting of very intensive
concurrent fsync calls, while the storage handles cache_flush commands slowly.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2014-04-07 09:50:58 +09:00
..
2012-01-03 22:54:57 -05:00
2014-02-10 16:01:40 -08: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
2007-07-31 15:39:38 -07:00
2011-09-27 18:08:04 +02:00
2010-05-10 11:56:30 +02:00
2014-01-23 16:37:00 -08:00
2011-03-31 11:26:23 -03: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
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