Switch to GCC 4.8.3 linaro cortex-a9 optimised toolchain
f2fs: call mark_inode_dirty to flush dirty pages

If a dentry page is updated, we should call mark_inode_dirty to add the inode
into the dirty list, so that its dentry pages are flushed to the disk.
Otherwise, the inode can be evicted without flush.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
f2fs: move a branch for code redability

This patch moves a function in f2fs_delete_entry for code readability.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
f2fs: add help function META_MAPPING

Introduce help function META_MAPPING() to get the cache meta blocks'
address space.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
f2fs: remove the orphan block page array

As the orphan_blocks may be max to 504, so it is not security
and rigorous to store such a large array in the kernel stack
as Dan Carpenter said.
In fact, grab_meta_page has locked the page in the page cache,
and we can use find_get_page() to fetch the page safely in the
downstream, so we can remove the page array directly.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
f2fs: introduce NODE_MAPPING for code consistency

This patch adds NODE_MAPPING which is similar as META_MAPPING introduced by
Gu Zheng.

Cc: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
f2fs: drop obsolete node page when it is truncated

If a node page is trucated, we'd better drop the page in the node_inode's page
cache for better memory footprint.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Revert "fs/sync.c : fix build error"

This reverts commit 02f072ebd215786f6ceb863e90393cdb35c1917c.
Revert "afsync: replace fput() with fput_light() accordingly"

This reverts commit afedafb345ffb2215970b56060dc3e9b447630f2.
Revert "add f2fs as filesystem to async fsync"

This reverts commit e41a4a53d1b3c9afa89e1a020db77ba07268acb2.
Revert "async fsync from htc one (ported by faux123)"

This reverts commit 0dc073b2ac04998fe57a923b3940aa3ff37b129c.
Revert "block: separate priority boosting from REQ_META"

This reverts commit 44100463b0bd1176f3f9d8cf1bf67f95ad003482.
Revert "block: remove READ_META and WRITE_META"

This reverts commit 2a935c7dd5dcff5ebc4b9afed6ed38030577ecb1.
fs/f2fs: Add Missing REQ_PRIO defines
block: Add a new REQ_PRIO, f2fs quick hack

Taken from Christoph Hellwig <hch@infradead.org> patch
block: separate priority boosting from REQ_META
drivers/cpufreq: update Zzmoove to v0.8
LMK update
binfmt_elf.c: use get_random_int() to fix entropy depleting (Jeff Liu )

See http://lkml.indiana.edu/hypermail/linux/kernel/1211.1/03767.html for details.
cpufreq: zzmoove v0.8 - fix settings for yank profiles
logger: reduce reserved memory