#1053910 zfs: use zpool user properties instead of zfs user properties for scrub and trim cron scripts

#1053910#5
Date:
2023-10-14 05:07:18 UTC
From:
To:
zpool user property is supported now. We can use this feature for the
cron scripts instead of abusing the zfs user property at root dataset.
https://github.com/openzfs/zfs/pull/11680

#1053910#10
Date:
2023-10-15 03:45:23 UTC
From:
To:
What semantics are you thinking for handling upgrades? This does not appear
to be a new zpool "feature", so we may want to support loading such a pool
on an earlier version of our zfs packaging.  How does this sound?

 - migrate the property if it exists (but do not remove the old, root
   filesystem one)
 - use the pool-level property if there's a conflict, but throw a warning
   if there's a discrepancy between the two
 - suggest people remove the old property if they don't need backwards
   compatibility in NEWS
 - in several version, start warning if the filesystem one is still around
 - several versions after that, stop even checking for the old property

Antonio