> spa_t *spa = dp->dp_spa;
> tx_state_t *tx = &dp->dp_tx;
> callb_cpr_t cpr;
> uint64_t start, delta;
>
> - txg_thread_enter(tx, &cpr);
> + snprintf(name, TXG_THREAD_MAXNAMELEN, "txg_sync %s", spa_name(spa));
Well, the names were meant to distinguish the quiescing and syncing context
too. But I think it's certainly worth omitting the first four characters in
both cases.
---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/26/files#r43271211
_______________________________________________
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer