Module Name: src
Committed By: rin
Date: Thu Aug 3 03:21:56 UTC 2023
Modified Files:
src/tests/rump/rumpvfs: t_etfs.c
Log Message:
t_etfs: Skip large_blk for system with page size > 8192
Work around kernel freeze reported as PR kern/55658 for
powerpc/ibm4xx (16K pages)
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/rump/rumpvfs/t_etfs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/rump/rumpvfs/t_etfs.c
diff -u src/tests/rump/rumpvfs/t_etfs.c:1.11 src/tests/rump/rumpvfs/t_etfs.c:1.12
--- src/tests/rump/rumpvfs/t_etfs.c:1.11 Fri Jan 13 21:30:43 2017
+++ src/tests/rump/rumpvfs/t_etfs.c Thu Aug 3 03:21:56 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: t_etfs.c,v 1.11 2017/01/13 21:30:43 christos Exp $ */
+/* $NetBSD: t_etfs.c,v 1.12 2023/08/03 03:21:56 rin Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -169,6 +169,11 @@ ATF_TC_BODY(large_blk, tc)
ssize_t n;
int rv, tfd;
+ if (sysconf(_SC_PAGESIZE) > 8192) {
+ atf_tc_skip(
+ "PR kern/55658: cause kernel freeze for page size > 8192");
+ }
+
/*
* mount mfs. it would be nice if this would not be required,
* but a) tmpfs doesn't "support" sparse files b) we don't really