From: Jaegeuk Kim Date: Tue, 9 Dec 2014 14:08:59 +0000 (-0800) Subject: f2fs: change atomic and volatile write policies X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~98^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e84371ffeef451e8532e0cd04c2fe59ff10c514;p=pandora-kernel.git f2fs: change atomic and volatile write policies This patch adds two new ioctls to release inmemory pages grabbed by atomic writes. o f2fs_ioc_abort_volatile_write - If transaction was failed, all the grabbed pages and data should be written. o f2fs_ioc_release_volatile_write - This is to enhance the performance of PERSIST mode in sqlite. In order to avoid huge memory consumption which causes OOM, this patch changes volatile writes to use normal dirty pages, instead blocked flushing to the disk as long as system does not suffer from memory pressure. Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed