Re: [PATCH] erofs: fix unsupported blksize in fileio mode

From: Hongzhen Luo
Date: Mon Oct 14 2024 - 23:53:26 EST



On 2024/10/15 11:47, Gao Xiang wrote:
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@xxxxxxxxxxxxxxxxx>

File-backed mounts should support < PAGE_SIZE sizes.
You should just fix these cases instead.

Thanks,
Gao Xiang


Okay, I will fix it later.

---

Thanks,

Hongzhen