On 04/12, Pankaj Raghav wrote:
> F2FS only works for zoned devices with power-of-2 zone sizes as the
> f2fs section needs to be a power-of-2.

The section size actually supports multiple 2MBs, not PO2.

> 
> At the moment the linux kernel only accepts zoned devices which are
> power-of-2 as block devices but there are zoned devices in the market
> which have non power-of-2 zone sizes.
> 
> As a proactive measure, this patchset adds a check to return error
> from mkfs and fsck for zoned devices with non power-of-2 zone sizes.
> 
> Luis Chamberlain (3):
>   libf2fs_zoned: factor out helper to get chunk sectors
>   libf2fs: add support to report zone size
>   libf2fs: don't allow mkfs / fsck on zoned NPO2
> 
>  include/f2fs_fs.h   |  1 +
>  lib/libf2fs.c       | 17 +++++++++++++++--
>  lib/libf2fs_zoned.c | 32 ++++++++++++++++++++++----------
>  3 files changed, 38 insertions(+), 12 deletions(-)
> 
> -- 
> 2.25.1
> 
> 
> 
> _______________________________________________
> Linux-f2fs-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to