On Tue, Jan 13, 2026 at 03:17:44PM +0100, Thomas Huth wrote: > From: Thomas Huth <[email protected]> > > Running test 182 on FreeBSD fails with this error message in the output: > > +warning: File lock requested but OFD locking syscall is unavailable, > falling back to POSIX file locks > +Due to the implementation, locks can be lost unexpectedly. > > OFD locks seem to be only available on Linux, so let's mark this > test as Linux-only to silence the failure.
OFD locks are part of POSIX now, so eventually new-enough BSD will have them. Is it worth trying to be more specific and testing for the actual feature that we are depending on, rather than just limiting the test to an early-adopter OS? That said, I don't have any quick ideas on how to do a more-specific feature test, so I don't mind this going in as-is; we already know BSD gets less coverage for other reasons. -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org
