mirror_zfs/tests/zfs-tests/tests/functional/userquota
George Amanakis e257bd481b Introduce a flag to skip comparing the local mac when raw sending
Raw receiving a snapshot back to the originating dataset is currently
impossible because of user accounting being present in the originating
dataset.

One solution would be resetting user accounting when raw receiving on
the receiving dataset. However, to recalculate it we would have to dirty
all dnodes, which may not be preferable on big datasets.

Instead, we rely on the os_phys flag
OBJSET_FLAG_USERACCOUNTING_COMPLETE to indicate that user accounting is
incomplete when raw receiving. Thus, on the next mount of the receiving
dataset the local mac protecting user accounting is zeroed out.
The flag is then cleared when user accounting of the raw received
snapshot is calculated.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #12981 
Closes #10523
Closes #11221
Closes #11294
Closes #12594
Issue #11300
2022-02-04 16:14:56 -08:00
..
cleanup.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
groupspace_001_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
groupspace_002_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
groupspace_003_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
Makefile.am Introduce a flag to skip comparing the local mac when raw sending 2022-02-04 16:14:56 -08:00
setup.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
userquota_001_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
userquota_002_pos.ksh ZTS: path cleanup 2018-08-30 13:46:55 -07:00
userquota_003_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
userquota_004_pos.ksh Add zfs_nicebytes() to print human-readable sizes 2017-05-02 13:43:53 -07:00
userquota_005_neg.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
userquota_006_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
userquota_007_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
userquota_008_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
userquota_009_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
userquota_010_pos.ksh Fix typos in tests/ 2019-09-02 17:58:26 -07:00
userquota_011_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
userquota_012_neg.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
userquota_013_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
userquota_common.kshlib Add zfs_nicebytes() to print human-readable sizes 2017-05-02 13:43:53 -07:00
userquota.cfg Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
userspace_001_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
userspace_002_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
userspace_003_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
userspace_encrypted.ksh Fix 'zfs userspace' for received datasets in encrypted root 2020-11-16 09:10:29 -08:00
userspace_send_encrypted.ksh Introduce a flag to skip comparing the local mac when raw sending 2022-02-04 16:14:56 -08:00