]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/020: Compute correct max_attrs for UBIFS
authorRichard Weinberger <richard@nod.at>
Sun, 14 Jan 2024 13:57:13 +0000 (14:57 +0100)
committerZorro Lang <zlang@kernel.org>
Fri, 9 Feb 2024 05:27:17 +0000 (13:27 +0800)
commitef62fdb75bc658cb29a6d9ce2a51d327fa150e89
tree8bbd1706427a925cf090ae11870fb47c8cd5af0f
parentd99636b8efdc217bfb3ba9348ddfb45cb89326ab
generic/020: Compute correct max_attrs for UBIFS

When testing on a MTD with a rather small erase block
size, the default max_attr limit can be too much and the
test will fail.
Instead compute the actual limit.

Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/config
common/ubifs [new file with mode: 0644]
tests/generic/020