Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115674425
D43446.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D43446.diff
View Options
diff --git a/tests/sys/fs/fusefs/io.cc b/tests/sys/fs/fusefs/io.cc
--- a/tests/sys/fs/fusefs/io.cc
+++ b/tests/sys/fs/fusefs/io.cc
@@ -507,6 +507,16 @@
close(m_test_fd);
}
+/*
+ * mmap of a suitable region could trigger a panic. I'm not sure what
+ * combination of size and offset counts as "suitable". Regression test for
+ * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276191
+ */
+TEST_P(IoCacheable, vnode_pager_generic_putpage_clean_block_at_eof)
+{
+ do_mapwrite(0x1bbc3, 0x3b4e0);
+}
+
INSTANTIATE_TEST_SUITE_P(Io, Io,
Combine(Bool(), /* async read */
Values(0x1000, 0x10000, 0x20000), /* m_maxwrite */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 11:00 PM (12 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17822834
Default Alt Text
D43446.diff (635 B)
Attached To
Mode
D43446: Add a regression test for PR 276191.
Attached
Detach File
Event Timeline
Log In to Comment