FreeNAS/freenas 356637dsrc/middlewared/middlewared/plugins cloud_sync.py pool.py, src/middlewared/middlewared/pytest/unit/plugins test_cloud_sync.py

Update zfs.dataset.query usages

This commit updates zfs.dataset.query usages which means not retrieving any property with the new knobs exposed in the middlewared api. It also updates cloudsync flatten_datasets usage making sure we don't use it now as the zfs.dataset.query already returns a flattened structure for the datasets.
DeltaFile
+38-0src/middlewared/middlewared/pytest/unit/plugins/test_cloud_sync.py
+0-6src/middlewared/middlewared/plugins/cloud_sync.py
+1-1src/middlewared/middlewared/plugins/pool.py
+39-73 files

UnifiedSplitRaw