]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
generic/020: adjust max_attrval_size for ceph
authorLuís Henriques <lhenriques@suse.de>
Mon, 13 Jun 2022 11:31:41 +0000 (12:31 +0100)
committerZorro Lang <zlang@kernel.org>
Fri, 24 Jun 2022 15:12:20 +0000 (23:12 +0800)
commitad794b00a3c209efe5d4a213119386dce20644fc
treea5be18395786468943ab45c14598ee3d94552812
parent0882b0913eae6fd6d2010323da1dde0ff96bf7d4
generic/020: adjust max_attrval_size for ceph

CephFS doesn't have a maximum xattr size.  Instead, it imposes a maximum
size for the full set of xattrs names+values, which by default is 64K.

This patch fixes the max_attrval_size for ceph so that it is takes into
account any already existing attrs in the file.

Signed-off-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/020