On 7/3/2026 8:26 AM, Christian Schoenebeck wrote:
> On host systems with ext4 and ea_inode capability not enabled, the max. size
> for xattr values is slightly below 4k, which caused the new xattr tests to
> fail on such host systems.
> 
> Reduce the xattr size for our tests to 1k to prevent them to fail on such
> host systems.
> 
> Reported-by: Pierrick Bouvier <[email protected]>
> Fixes: 04a62cdfe8 ("tests/9p: add 3 xattr FID limit test cases (local fs 
> driver)")
> Signed-off-by: Christian Schoenebeck <[email protected]>
> ---
>  tests/qtest/virtio-9p-test.c | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>
Tested-by: Pierrick Bouvier <[email protected]>

Looks good for me, and fix the failure observed.
In case you want the test to be more complete, you may try to detect
ea_node presence, and adapt the size to it.

Regards,
Pierrick

Reply via email to