mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
Add thread names for easier debugging
This commit is contained in:
parent
a8ffbc84f6
commit
2377cb05b6
6 changed files with 46 additions and 21 deletions
|
|
@ -482,9 +482,11 @@ fuse_session_loop_mt(struct fuse_session *se_,
|
|||
&process_thread_queue_depth);
|
||||
|
||||
if(process_thread_count > 0)
|
||||
process_tp = std::make_shared<BoundedThreadPool>(process_thread_count,process_thread_queue_depth);
|
||||
process_tp = std::make_shared<BoundedThreadPool>(process_thread_count,
|
||||
process_thread_queue_depth,
|
||||
"fuse.process");
|
||||
|
||||
read_tp = std::make_unique<BoundedThreadPool>(read_thread_count);
|
||||
read_tp = std::make_unique<BoundedThreadPool>(read_thread_count,1,"fuse.read");
|
||||
if(process_tp)
|
||||
{
|
||||
for(auto i = 0; i < read_thread_count; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue