From eb141c4c4eb85173e8f0fb288662a666c7c53462 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 30 Jul 2023 23:13:14 -0500 Subject: [PATCH] Fix logging pin-threads details --- libfuse/lib/fuse_loop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfuse/lib/fuse_loop.cpp b/libfuse/lib/fuse_loop.cpp index 9eab89b5..2b5c0b12 100644 --- a/libfuse/lib/fuse_loop.cpp +++ b/libfuse/lib/fuse_loop.cpp @@ -423,7 +423,7 @@ pin_threads(const std::vector read_threads_, const std::vector process_threads_, const std::string type_) { - if(type_.empty()) + if(type_.empty() || (type_ == "false")) return; if(type_ == "R1L") return ::pin_threads_R1L(read_threads_); @@ -511,7 +511,7 @@ fuse_session_loop_mt(struct fuse_session *se_, read_thread_count, process_thread_count, process_thread_queue_depth, - pin_threads_type_); + pin_threads_type_.c_str()); ::wait(se_,&finished);