Skip to content

Commit 66e05c8

Browse files
committed
tst_device: Increase DEV_SIZE_MB to 300 MB
Previous default 256 MB was not enough for mkfs.xfs since v5.19.0-rc1 [1] which refuses to create filesystems < 300 MB. Although the limitation can be workarounded by setting three environment variables, it's better to increase the variable. [1]: https://lore.kernel.org/all/164738662491.3191861.15611882856331908607.stgit@magnolia/ Reported-by: Martin Doucha <[email protected]> Reviewed-by: Li Wang <[email protected]> Reviewed-by: Cyril Hrubis <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent ccdf312 commit 66e05c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tst_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#define LOOP_CONTROL_FILE "/dev/loop-control"
4545

4646
#define DEV_FILE "test_dev.img"
47-
#define DEV_SIZE_MB 256u
47+
#define DEV_SIZE_MB 300u
4848

4949
static char dev_path[1024];
5050
static int device_acquired;

0 commit comments

Comments
 (0)