From efba406aa7aee840c0c024a27a9501f56dde1250 Mon Sep 17 00:00:00 2001 From: George Amanakis Date: Sun, 7 Mar 2021 00:34:16 +0100 Subject: [PATCH] Debugging Signed-off-by: George Amanakis --- module/zfs/dmu_objset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 1646e54aee68..468f38a7ece3 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -782,6 +782,7 @@ dmu_objset_own(const char *name, dmu_objset_type_t type, */ if (!readonly && !dp->dp_spa->spa_claiming && (ds->ds_dir->dd_crypto_obj == 0 || decrypt)) { + cmn_err(CE_NOTE, "upgrade"); if (dmu_objset_userobjspace_upgradable(*osp) || dmu_objset_projectquota_upgradable(*osp)) { dmu_objset_id_quota_upgrade(*osp); @@ -2067,6 +2068,7 @@ dmu_objset_do_userquota_updates_prep(objset_t *os, dmu_tx_t *tx) /* Allocate the user/group/project used objects if necessary. */ if (DMU_USERUSED_DNODE(os)->dn_type == DMU_OT_NONE) { + cmn_err(CE_NOTE, "create obj"); VERIFY0(zap_create_claim(os, DMU_USERUSED_OBJECT, DMU_OT_USERGROUP_USED, DMU_OT_NONE, 0, tx)); @@ -2296,7 +2298,6 @@ dmu_objset_space_upgrade(objset_t *os) */ for (obj = 0; err == 0; err = dmu_object_next(os, &obj, FALSE, 0)) { - cmn_err(CE_NOTE, "space upgrade: %llu", obj); dmu_tx_t *tx; dmu_buf_t *db; int objerr;