<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/fs, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>tests/fusefs: appease gcc -Wcast-qual</title>
<updated>2026-04-15T16:32:22+00:00</updated>
<author>
<name>Ryan Libby</name>
<email>rlibby@FreeBSD.org</email>
</author>
<published>2026-04-15T16:32:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0c09c6527b16953d355125bee7a839f743a39dad'/>
<id>0c09c6527b16953d355125bee7a839f743a39dad</id>
<content type='text'>
Fix gcc build error.

Reviewed by:	asomers, kib
Fixes:	7e68af7ce2c1 ("fusefs: redo vnode attribute locking")
Differential Revision:	https://reviews.freebsd.org/D56370
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix gcc build error.

Reviewed by:	asomers, kib
Fixes:	7e68af7ce2c1 ("fusefs: redo vnode attribute locking")
Differential Revision:	https://reviews.freebsd.org/D56370
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/fusefs: fix sign-compare warning on armv7</title>
<updated>2026-03-14T15:32:16+00:00</updated>
<author>
<name>Siva Mahadevan</name>
<email>siva@FreeBSD.org</email>
</author>
<published>2026-03-14T03:48:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=736d8852e190f69dc93206ed3fb2d1f712dc3ad1'/>
<id>736d8852e190f69dc93206ed3fb2d1f712dc3ad1</id>
<content type='text'>
Fixes:		7e68af7ce2c1b892954df415774fe59fd2f1b62f
Reviewed by:	asomers
Approved by:	emaste (mentor)
Differential Revision:	https://reviews.freebsd.org/D55846
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes:		7e68af7ce2c1b892954df415774fe59fd2f1b62f
Reviewed by:	asomers
Approved by:	emaste (mentor)
Differential Revision:	https://reviews.freebsd.org/D55846
</pre>
</div>
</content>
</entry>
<entry>
<title>fusefs: redo vnode attribute locking</title>
<updated>2026-03-12T16:11:25+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2026-01-23T21:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7e68af7ce2c1b892954df415774fe59fd2f1b62f'/>
<id>7e68af7ce2c1b892954df415774fe59fd2f1b62f</id>
<content type='text'>
Previously most fields in fuse_vnode_data were protected by the vnode
lock.  But because DEBUG_VFS_LOCKS was never enabled by default until
stable/15 the assertions were never checked, and many were wrong.
Others were missing.  This led to panics in stable/15 and 16.0-CURRENT,
when a vnode was expected to be exclusively locked but wasn't, for fuse
file systems that mount with "-o async".

In some places it isn't possible to exclusively lock the vnode when
accessing these fields.  So protect them with a new mutex instead.  This
fixes panics and unprotected field accesses in VOP_READ,
VOP_COPY_FILE_RANGE, VOP_GETATTR, VOP_BMAP, and FUSE_NOTIFY_INVAL_ENTRY.
Add assertions everywhere the protected fields are accessed.

Lock the vnode exclusively when handling FUSE_NOTIFY_INVAL_INODE.

During fuse_vnode_setsize, if the vnode isn't already exclusively
locked, use the vn_delayed_setsize mechanism.  This fixes panics during
VOP_READ or VOP_GETATTR.

Also, ensure that fuse_vnop_rename locks the "from" vnode.

Finally, reorder elements in struct fuse_vnode_data to reduce the
structure size.

Fixes:		283391
Reported by:	kargl, markj, vishwin, Abdelkader Boudih, groenveld@acm.org
MFC after:	2 weeks
Sponsored by:	ConnectWise
Reviewed by:	kib
Differential Revision: https://reviews.freebsd.org/D55230
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously most fields in fuse_vnode_data were protected by the vnode
lock.  But because DEBUG_VFS_LOCKS was never enabled by default until
stable/15 the assertions were never checked, and many were wrong.
Others were missing.  This led to panics in stable/15 and 16.0-CURRENT,
when a vnode was expected to be exclusively locked but wasn't, for fuse
file systems that mount with "-o async".

In some places it isn't possible to exclusively lock the vnode when
accessing these fields.  So protect them with a new mutex instead.  This
fixes panics and unprotected field accesses in VOP_READ,
VOP_COPY_FILE_RANGE, VOP_GETATTR, VOP_BMAP, and FUSE_NOTIFY_INVAL_ENTRY.
Add assertions everywhere the protected fields are accessed.

Lock the vnode exclusively when handling FUSE_NOTIFY_INVAL_INODE.

During fuse_vnode_setsize, if the vnode isn't already exclusively
locked, use the vn_delayed_setsize mechanism.  This fixes panics during
VOP_READ or VOP_GETATTR.

Also, ensure that fuse_vnop_rename locks the "from" vnode.

Finally, reorder elements in struct fuse_vnode_data to reduce the
structure size.

Fixes:		283391
Reported by:	kargl, markj, vishwin, Abdelkader Boudih, groenveld@acm.org
MFC after:	2 weeks
Sponsored by:	ConnectWise
Reviewed by:	kib
Differential Revision: https://reviews.freebsd.org/D55230
</pre>
</div>
</content>
</entry>
<entry>
<title>Account for the ctl test needing the ctl(4) module</title>
<updated>2026-01-25T00:18:45+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-01-25T00:17:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da59b3147b01203bb18bcd03cce7a6d5916e87c3'/>
<id>da59b3147b01203bb18bcd03cce7a6d5916e87c3</id>
<content type='text'>
This testcase does not function unless the /dev/ctl/... node exists,
which is created by the ctl(4) module. Require the ctl(4) module to be
loaded so the test can be executed.

MFC after: 1 week
Differential Revision:	https://reviews.freebsd.org/D54518
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This testcase does not function unless the /dev/ctl/... node exists,
which is created by the ctl(4) module. Require the ctl(4) module to be
loaded so the test can be executed.

MFC after: 1 week
Differential Revision:	https://reviews.freebsd.org/D54518
</pre>
</div>
</content>
</entry>
<entry>
<title>fusefs: Add tests for the new -o auto_unmount feature</title>
<updated>2026-01-24T16:02:33+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2026-01-19T19:11:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ffb747d587bf09a982df67fba322b91d02f70be6'/>
<id>ffb747d587bf09a982df67fba322b91d02f70be6</id>
<content type='text'>
Add tests for mount_fusefs's new -o auto_unmount feature, recently added
by arrowd.

MFC with:	10037d0978f "fusefs: Implement support for the auto_unmount"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add tests for mount_fusefs's new -o auto_unmount feature, recently added
by arrowd.

MFC with:	10037d0978f "fusefs: Implement support for the auto_unmount"
</pre>
</div>
</content>
</entry>
<entry>
<title>tarfs: tests: Increase timeout (again 2)</title>
<updated>2026-01-17T18:01:21+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-01-14T17:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a4f0a60e05293f3f517324f3ebc41046a79a9feb'/>
<id>a4f0a60e05293f3f517324f3ebc41046a79a9feb</id>
<content type='text'>
Bump the timeout value (for the third time), to avoid cutoff on emulated
architectures on ci.freebsd.org.  One of the runners will take
considerably more time to complete this test.

Reported by:	Jenkins
Fixes:		a551b0524953 ("tarfs: tests: Increase timeout (again)")
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bump the timeout value (for the third time), to avoid cutoff on emulated
architectures on ci.freebsd.org.  One of the runners will take
considerably more time to complete this test.

Reported by:	Jenkins
Fixes:		a551b0524953 ("tarfs: tests: Increase timeout (again)")
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>tarfs: tests: Increase timeout (again)</title>
<updated>2026-01-12T18:17:01+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-01-12T18:15:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a551b0524953cbfa4f1035c6d968623e64f4436a'/>
<id>a551b0524953cbfa4f1035c6d968623e64f4436a</id>
<content type='text'>
Bump the timeout value (a little more), to avoid cutoff on emulated
architectures on ci.freebsd.org.

Reported by:    Jenkins
Fixes:		47015e454661 ("tests: Increase timeout")
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bump the timeout value (a little more), to avoid cutoff on emulated
architectures on ci.freebsd.org.

Reported by:    Jenkins
Fixes:		47015e454661 ("tests: Increase timeout")
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>fusefs: support FUSE_IOCTL</title>
<updated>2026-01-10T00:06:21+00:00</updated>
<author>
<name>CismonX</name>
<email>admin@cismon.net</email>
</author>
<published>2025-07-05T12:46:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=17ba6f428683b661178b50a9d59f8b9e0dd2138a'/>
<id>17ba6f428683b661178b50a9d59f8b9e0dd2138a</id>
<content type='text'>
MFC After: 1 week
Signed-off-by: CismonX &lt;admin@cismon.net&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1470
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC After: 1 week
Signed-off-by: CismonX &lt;admin@cismon.net&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1470
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Increase timeout</title>
<updated>2026-01-07T17:52:26+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-01-07T17:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=47015e4546619151f9bff548a3758b72286d04ed'/>
<id>47015e4546619151f9bff548a3758b72286d04ed</id>
<content type='text'>
Bump the timeout value, to avoid cutoff on emulated architectures on
ci.freebsd.org.

Reported by:	Jenkins
Reviewed by:	ngie
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54550
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bump the timeout value, to avoid cutoff on emulated architectures on
ci.freebsd.org.

Reported by:	Jenkins
Reviewed by:	ngie
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54550
</pre>
</div>
</content>
</entry>
<entry>
<title>fusefs: Fix further intermittency in the BadServer.ShortWrite test case</title>
<updated>2025-12-22T17:18:16+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2025-12-21T15:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f51e9d0e0988df58c94db586ab5c8b5fd091c004'/>
<id>f51e9d0e0988df58c94db586ab5c8b5fd091c004</id>
<content type='text'>
After being unmounted, the mockfs server would occasionally read from
/dev/fuse again, if the main function didn't exit fast enough, getting
an ENODEV error.  Handle that appropriately.

Reported by:	Siva Mahadevan &lt;me@svmhdvn.name&gt;
Fixes:		d86025c1d49c84c4dc8c3635c83c078ad56e5a53
MFC after:	1 week
Reviewed by:	Siva Mahadevan &lt;me@svmhdvn.name&gt;
Differential Revision: https://reviews.freebsd.org/D54331
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After being unmounted, the mockfs server would occasionally read from
/dev/fuse again, if the main function didn't exit fast enough, getting
an ENODEV error.  Handle that appropriately.

Reported by:	Siva Mahadevan &lt;me@svmhdvn.name&gt;
Fixes:		d86025c1d49c84c4dc8c3635c83c078ad56e5a53
MFC after:	1 week
Reviewed by:	Siva Mahadevan &lt;me@svmhdvn.name&gt;
Differential Revision: https://reviews.freebsd.org/D54331
</pre>
</div>
</content>
</entry>
</feed>
