mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-15 02:35:12 +08:00
Fix logging pin-threads details
This commit is contained in:
parent
282ce08ddb
commit
eb141c4c4e
@ -423,7 +423,7 @@ pin_threads(const std::vector<pthread_t> read_threads_,
|
|||||||
const std::vector<pthread_t> process_threads_,
|
const std::vector<pthread_t> process_threads_,
|
||||||
const std::string type_)
|
const std::string type_)
|
||||||
{
|
{
|
||||||
if(type_.empty())
|
if(type_.empty() || (type_ == "false"))
|
||||||
return;
|
return;
|
||||||
if(type_ == "R1L")
|
if(type_ == "R1L")
|
||||||
return ::pin_threads_R1L(read_threads_);
|
return ::pin_threads_R1L(read_threads_);
|
||||||
@ -511,7 +511,7 @@ fuse_session_loop_mt(struct fuse_session *se_,
|
|||||||
read_thread_count,
|
read_thread_count,
|
||||||
process_thread_count,
|
process_thread_count,
|
||||||
process_thread_queue_depth,
|
process_thread_queue_depth,
|
||||||
pin_threads_type_);
|
pin_threads_type_.c_str());
|
||||||
|
|
||||||
::wait(se_,&finished);
|
::wait(se_,&finished);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user