On Thu, Nov 07, 2013 at 01:51:53PM +0800, Qu Wenruo wrote:
> @@ -753,6 +754,19 @@ struct btrfs_workqueue_struct 
> *btrfs_alloc_workqueue(char *name,
>               }
>       }
>  
> +     if (high_name) {
> +             ret->high_wq = alloc_workqueue(high_name,
> +                                            flags | WQ_HIGHPRI,
> +                                            max_active);

I'd really like to add the btrfs- prefix of the workqueue. Quoting our
previous discussion:

> > * the thread names lost the btrfs- prefix, this makes it hard to
> >    identify the processes and we want this, either debugging or
> >    performance monitoring
> Yes, that's right.
> But the problem is, even I added "btrfs-" prefix to the wq,
> the real work executor is kernel workers without any prefix.
> Still hard to debugging due to the workqueue mechanism.

AFAICS the string passed down to alloc_workqueue ends up in the process
name, this is what I'm expecing and don't understand what do you mean.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to