svn commit: r292353 - projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set

Alan Somers asomers at freebsd.org
Thu Dec 17 16:02:07 UTC 2015


On Wed, Dec 16, 2015 at 3:07 PM, Andriy Gapon <avg at freebsd.org> wrote:
> On 16/12/2015 21:30, Alan Somers wrote:
>> Author: asomers
>> Date: Wed Dec 16 19:30:44 2015
>> New Revision: 292353
>> URL: https://svnweb.freebsd.org/changeset/base/292353
>>
>> Log:
>>   Disable read-only testing of space usage properties.
>>
>>   These properties (used, available, referenced) are easily influenced by
>>   internal machinations in ZFS, and currently cause random failures of this
>>   test when run on a system running the BP workers.
>>
>>   The test itself checks that the properties can't be changed, and goes
>>   farther than just asserting that the 'zfs set' command fails: it also checks
>>   that the property's value still matches its original value.
>>
>>   For some reason, however, background activity causes short-term changes in
>>   these values, that appear not to involve either an ioctl (at least one that
>>   would show up in 'zpool history') or filesystem accesses.  This is hopefully
>>   still only temporary just to get the tests passing.
>>
>>   Submitted by:       Will
>>   Sponsored by:       Spectra Logic Corp
>
> FWIW,
> hhttps://github.com/avg-I/openzfs/commit/e7a8782eb9ea84e6db92891dfd5a74c655d0a44a
> The change is a bit lame, but better than nothing.
>

Interesting.  We had no idea that's what was causing those properties
to change.  We thought it must be the result of some unknown
background process.


More information about the svn-src-projects mailing list