diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-03-17 18:59:45 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-03-17 18:59:45 +0300 |
| commit | c465f5591aa84a6f85d66d152e28b92844a45d4f (patch) | |
| tree | 44dadca1d5a1435a75a52c9540fd9228b2088460 /samples/workqueue | |
| parent | f8b8820a4a16c4ef673e90ded41e8348514e53f0 (diff) | |
| download | linux-c465f5591aa84a6f85d66d152e28b92844a45d4f.tar.xz | |
selftests/mount_setattr: increase tmpfs size for idmapped mount tests
The mount_setattr_idmapped fixture mounts a 2 MB tmpfs at /mnt and then
creates a 2 GB sparse ext4 image at /mnt/C/ext4.img. While ftruncate()
succeeds (sparse file), mkfs.ext4 needs to write actual metadata blocks
(inode tables, journal, bitmaps) which easily exceeds the 2 MB tmpfs
limit, causing ENOSPC and failing the fixture setup for all
mount_setattr_idmapped tests.
This was introduced by commit d37d4720c3e7 ("selftests/mount_settattr:
ensure that ext4 filesystem can be created") which increased the image
size from 2 MB to 2 GB but didn't adjust the tmpfs size.
Bump the tmpfs size to 256 MB which is sufficient for the ext4 metadata.
Fixes: d37d4720c3e7 ("selftests/mount_settattr: ensure that ext4 filesystem can be created")
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'samples/workqueue')
0 files changed, 0 insertions, 0 deletions
