[LTP] [PATCH v2] statx09: Set fs-verity blocksize to FS blocksize
Petr Vorel
pvorel@suse.cz
Fri Jul 14 15:15:59 CEST 2023
Hi Martin,
> The kernel requires that fs-verity blocksize must be at most equal
> to the filesystem blocksize. Testing on small loop device means that
> mkfs.ext4 will very likely default to blocksize of 1024. Set fs-verity
> blocksize to the filesystem blocksize to avoid errors.
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
> ---
> Setting filesystem blocksize to pagesize would require moving the mkfs
> command to setup(). We can do that later to fix support for kernels
> before v6.3 but let's fix the failure on latest kernel version first.
Makes sense.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Tested-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
More information about the ltp
mailing list