diff options
author | Daniel Rosenberg <drosen@google.com> | 2023-12-04 18:38:01 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-12-08 12:31:08 -0800 |
commit | a6a010f5def544af3efcfe21683905a712b60536 (patch) | |
tree | c1ec8e80251a0c067db98329e3873a1269dc9beb /arch/x86 | |
parent | 1ccd91963bd48b8da4148c128a946c2312407243 (diff) |
f2fs: Restrict max filesize for 16K f2fs
Blocks are tracked by u32, so the max permitted filesize is
(U32_MAX + 1) * BLOCK_SIZE. Additionally, in order to support crypto
data unit sizes of 4K with a 16K block with IV_INO_LBLK_{32,64}, we must
further restrict max filesize to (U32_MAX + 1) * 4096. This does not
affect 4K blocksize f2fs as the natural limit for files are well below
that.
Fixes: d7e9a9037de2 ("f2fs: Support Block Size == Page Size")
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions