> @@ -216,10 +216,11 @@ txg_sync_start(dsl_pool_t *dp)
>       mutex_exit(&tx->tx_sync_lock);
>  }
>  
> +#define      TXG_THREAD_MAXNAMELEN   MAXCOMLEN + 1

True.  This patch was ported from FreeBSD, where MAXCOMLEN is the limit (sizeof 
(curthread->td_name)).  However, I can use CB_MAXNAME anyway because td_name is 
clipped to its own limit rather than cp->c_name's.

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/26/files#r43215520
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to