]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: allocate node and hot data in the beginning of partition
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 25 Mar 2017 00:41:45 +0000 (20:41 -0400)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 30 Mar 2017 00:34:37 +0000 (17:34 -0700)
commit286dea15a0a4fee0041f0f9ed31c7ef0adcc2a60
treeaebd2031eeea3771201126c0b4020e4f09d6a20a
parent00ae2ad62a070ab55680b4a1ffc2b04e2c8b29d2
f2fs: allocate node and hot data in the beginning of partition

In order to give more spatial locality, this patch changes the block allocation
policy which assigns beginning of partition for small and hot data/node blocks.
In order to do this, we set noheap allocation by default and introduce another
mount option, heap, to reset it back.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c
fs/f2fs/segment.c
fs/f2fs/super.c