Re: [f2fs-dev] [PATCH] f2fs: Restrict max filesize for 16K f2fs

2023-12-01 Thread Eric Biggers
On Fri, Dec 01, 2023 at 07:03:47PM -0800, Daniel Rosenberg via Linux-f2fs-devel wrote: > + /* For compatibility with 4K crypto unit size, we must restrict > + * the max filesize to what can fit within U32_MAX 4K units. > + * Since the blocksize must currently be equal to the page siz

[f2fs-dev] [PATCH] f2fs: Restrict max filesize for 16K f2fs

2023-12-01 Thread Daniel Rosenberg via Linux-f2fs-devel
Blocks are tracked by u32, so the max permitted filesize is U32_MAX * BLOCK_SIZE. Additionally, in order to support crypto block sizes of 4K with a 16K block size, we must further restrict max filesize to U32_MAX * 4096. This does not affect 4K blocksize f2fs as the natural limits for those are wel

[f2fs-dev] [PATCH] man: Add description for mkfs -b option

2023-12-01 Thread Daniel Rosenberg via Linux-f2fs-devel
Describes the block size option -b. This sets the block size, which is restricted to powers of 2. The linux kernel currently requires that the block size be equal to the page size to mount. Change-Id: I27ec4f909f8d27327b48373f0a4a4e8593626804 Signed-off-by: Daniel Rosenberg --- man/mkfs.f2fs.8 |

[f2fs-dev] [PATCH] f2fs: allow checkpoint=disable for zoned block device

2023-12-01 Thread Jaegeuk Kim
Let's allow checkpoint=disable back for zoned block device. It's very risky as the feature relies on fsck or runtime recovery which matches the write pointers again if the device rebooted while disabling the checkpoint. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 5 - 1 file changed, 5