[PATCH v2] erofs: support metadata compression
Hongbo Li
lihongbo22 at huawei.com
Tue Jul 15 14:02:31 AEST 2025
On 2025/7/14 11:15, Gao Xiang wrote:
> ..
>
>>> if (!name)
>>> return -EINVAL;
>>> @@ -411,9 +416,12 @@ int erofs_getxattr(struct inode *inode, int
>>> index, const char *name,
>>> if (it.name.len > EROFS_NAME_LEN)
>>> return -ERANGE;
>>> + if (erofs_sb_has_xattr_compr(sbi))
>>
>> Is xattr_compr another feature under meta compr? In my opinion, how
>> about splitting it with another patch?
>
> Just answer this in advance, it should be in this patch, or
> as a seperate patch before this patch.
>
> Otherwise it's non-bisectable (and thus causes a incompat
> feature) because users could use a kernel with metadata
> compression but without erofs_sb_has_xattr_compr, it
> causes the connected features fragmented.
>
Ok,got it!
Thanks,
Hongbo
> Thanks,
> Gao Xiang
>
>>
>> Thanks,
>> Hongbo
>>
More information about the Linux-erofs
mailing list