[PATCH] erofs: fix unsupported blksize in fileio mode
Gao Xiang
hsiangkao at linux.alibaba.com
Tue Oct 15 14:47:24 AEDT 2024
Hi Hongzhen,
On 2024/10/15 11:36, Hongzhen Luo wrote:
> In fileio mode, when blcksize is not equal to PAGE_SIZE,
> erofs will attempt to set the block size of sb->s_bdev,
> which will trigger a panic. This patch fixes this.
>
> Fixes: fb176750266a ("erofs: add file-backed mount support")
>
> Signed-off-by: Hongzhen Luo <hongzhen at linux.alibaba.com>
File-backed mounts should support < PAGE_SIZE sizes.
You should just fix these cases instead.
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list