Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
Signed-off-by: George Amanakis <[email protected]>
  • Loading branch information
gamanakis committed Mar 6, 2021
1 parent 1ef7f60 commit efba406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/zfs/dmu_objset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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));
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit efba406

Please sign in to comment.