f2fs: allow address pointer number of dnode aligning to specified size
authorChao Yu <yuchao0@huawei.com>
Mon, 25 Mar 2019 13:08:19 +0000 (21:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 9 May 2019 04:23:10 +0000 (21:23 -0700)
commitd02a6e6174a772fa90c5efa51a55a04e6d8c0006
tree93c8a683aa0014390001195a94037a7703ca5866
parent2df0ab045784a1ca904437601a5086f570e8cf16
f2fs: allow address pointer number of dnode aligning to specified size

This patch expands scalability of dnode layout, it allows address pointer
number of dnode aligning to specified size (now, the size is one byte by
default), and later the number can align to compress cluster size
(1 << n bytes, n=[2,..)), it can avoid cluster acrossing two dnode, making
design of compress meta layout simple.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/node.c
fs/f2fs/super.c
include/linux/f2fs_fs.h