]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: support large sector size
authorChao Yu <chao2.yu@samsung.com>
Mon, 15 Sep 2014 10:01:10 +0000 (18:01 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Sep 2014 18:10:20 +0000 (11:10 -0700)
commit80951aecef98c4e7ad158dcb0080200c67a5d32d
tree2b15d8458854f0da153d958afe4a339f43bbd996
parentca6def8a93efde52bf94bf96b223b09a8f242d85
f2fs: support large sector size

Block size in f2fs is 4096 bytes, so theoretically, f2fs can support 4096 bytes
sector device at maximum. But now f2fs only support 512 bytes size sector, so
block device such as zRAM which uses page cache as its block storage space will
not be mounted successfully as mismatch between sector size of zRAM and sector
size of f2fs supported.

In this patch we support large sector size in f2fs, so block device with sector
size of 512/1024/2048/4096 bytes can be supported in f2fs.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/super.c
include/linux/f2fs_fs.h