Re: ZFS property inheritance broken for `readonly`?

From: Garrett Wollman <wollman_at_bimajority.org>
Date: Sat, 04 May 2024 01:31:29 UTC
<<On Sat, 4 May 2024 00:09:44 +0000, Brooks Davis <brooks@freebsd.org> said:

>> [I wrote:]
>> The child filesystem `export/cl/u` should have inherited the readonly
>> setting from `export/cl` but instead it (and all other children) have
>> overridden it, and I have to manually `zfs inherit readonly` on all of
>> the children to get the proper behavior.  This is quite surprising,
>> and the first time it happened I was sure that something had gone
>> wrong.

> I find myself wondering if ZFS was unable to downgrade the mount and
> this is a transient state, but the fact that inherit works suggests
> otherwise.  I suppose it could be a missing case in the spl layer.

It definitely *used to* work; this has been part of our standard
migration procedure for a good decade now, and it's only since we
upgraded to 13 that it stopped working.

-GAWollman