]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/f2fs/f2fs.h
f2fs: large volume support
authorChangman Lee <cm224.lee@samsung.com>
Mon, 12 May 2014 03:27:43 +0000 (12:27 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 4 Jun 2014 04:34:30 +0000 (13:34 +0900)
commit1dbe4152168d44fa164edbdc9f1243de70b98f7a
tree205318206e29db519ad1aad5e8042ae879c77184
parentbac4eef6537a663585f3fb3d633a629c72e3b73d
f2fs: large volume support

f2fs's cp has one page which consists of struct f2fs_checkpoint and
version bitmap of sit and nat. To support lots of segments, we need more
blocks for sit bitmap. So let's arrange sit bitmap as following:
+-----------------+------------+
| f2fs_checkpoint | sit bitmap |
| + nat bitmap    |            |
+-----------------+------------+
0                 4k        N blocks

Signed-off-by: Changman Lee <cm224.lee@samsung.com>
[Jaegeuk Kim: simple code change for readability]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
include/linux/f2fs_fs.h